Changeset 229373 in webkit


Ignore:
Timestamp:
Mar 7, 2018 1:10:57 PM (6 years ago)
Author:
mark.lam@apple.com
Message:

Rename ProtoCallFrame::arityMissMatch to hasArityMismatch.
https://bugs.webkit.org/show_bug.cgi?id=183414
<rdar://problem/38231678>

Reviewed by Michael Saboff.

  • interpreter/ProtoCallFrame.cpp:

(JSC::ProtoCallFrame::init):

  • interpreter/ProtoCallFrame.h:
Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r229367 r229373  
     12018-03-07  Mark Lam  <mark.lam@apple.com>
     2
     3        Rename ProtoCallFrame::arityMissMatch to hasArityMismatch.
     4        https://bugs.webkit.org/show_bug.cgi?id=183414
     5        <rdar://problem/38231678>
     6
     7        Reviewed by Michael Saboff.
     8
     9        * interpreter/ProtoCallFrame.cpp:
     10        (JSC::ProtoCallFrame::init):
     11        * interpreter/ProtoCallFrame.h:
     12
    1132018-03-07  Mark Lam  <mark.lam@apple.com>
    214
  • trunk/Source/JavaScriptCore/interpreter/ProtoCallFrame.cpp

    r178856 r229373  
    11/*
    2  * Copyright (C) 2013 Apple Inc. All Rights Reserved.
     2 * Copyright (C) 2013-2018 Apple Inc. All Rights Reserved.
    33 *
    44 * Redistribution and use in source and binary forms, with or without
     
    4040    this->setArgumentCountIncludingThis(argCountIncludingThis);
    4141    if (codeBlock && argCountIncludingThis < codeBlock->numParameters())
    42         this->arityMissMatch = true;
     42        this->hasArityMismatch = true;
    4343    else
    44         this->arityMissMatch = false;
     44        this->hasArityMismatch = false;
    4545
    4646    // Round up argCountIncludingThis to keep the stack frame size aligned.
  • trunk/Source/JavaScriptCore/interpreter/ProtoCallFrame.h

    r212692 r229373  
    11/*
    2  * Copyright (C) 2013-2017 Apple Inc. All Rights Reserved.
     2 * Copyright (C) 2013-2018 Apple Inc. All Rights Reserved.
    33 *
    44 * Redistribution and use in source and binary forms, with or without
     
    3939    Register thisArg;
    4040    uint32_t paddedArgCount;
    41     bool arityMissMatch;
     41    bool hasArityMismatch;
    4242    JSValue *args;
    4343
     
    6060    void setThisValue(JSValue value) { thisArg = value; }
    6161
    62     bool needArityCheck() { return arityMissMatch; }
     62    bool needArityCheck() { return hasArityMismatch; }
    6363
    6464    JSValue argument(size_t argumentIndex)
Note: See TracChangeset for help on using the changeset viewer.