Changeset 229373 in webkit
- Timestamp:
- Mar 7, 2018 1:10:57 PM (6 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r229367 r229373 1 2018-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 1 13 2018-03-07 Mark Lam <mark.lam@apple.com> 2 14 -
trunk/Source/JavaScriptCore/interpreter/ProtoCallFrame.cpp
r178856 r229373 1 1 /* 2 * Copyright (C) 2013 Apple Inc. All Rights Reserved.2 * Copyright (C) 2013-2018 Apple Inc. All Rights Reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 40 40 this->setArgumentCountIncludingThis(argCountIncludingThis); 41 41 if (codeBlock && argCountIncludingThis < codeBlock->numParameters()) 42 this-> arityMissMatch = true;42 this->hasArityMismatch = true; 43 43 else 44 this-> arityMissMatch = false;44 this->hasArityMismatch = false; 45 45 46 46 // Round up argCountIncludingThis to keep the stack frame size aligned. -
trunk/Source/JavaScriptCore/interpreter/ProtoCallFrame.h
r212692 r229373 1 1 /* 2 * Copyright (C) 2013-201 7Apple Inc. All Rights Reserved.2 * Copyright (C) 2013-2018 Apple Inc. All Rights Reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 39 39 Register thisArg; 40 40 uint32_t paddedArgCount; 41 bool arityMissMatch;41 bool hasArityMismatch; 42 42 JSValue *args; 43 43 … … 60 60 void setThisValue(JSValue value) { thisArg = value; } 61 61 62 bool needArityCheck() { return arityMissMatch; }62 bool needArityCheck() { return hasArityMismatch; } 63 63 64 64 JSValue argument(size_t argumentIndex)
Note: See TracChangeset
for help on using the changeset viewer.