Changeset 253233 in webkit for trunk/Source/JavaScriptCore/interpreter
- Timestamp:
- Dec 6, 2019, 4:33:58 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
r251584 r253233 667 667 auto throwScope = DECLARE_THROW_SCOPE(vm); 668 668 JSGlobalObject* globalObject = scope->globalObject(vm); 669 JSCallee* globalCallee = globalObject->globalCallee(); 669 670 670 671 ProgramExecutable* program = ProgramExecutable::create(globalObject, source); … … 840 841 841 842 ProtoCallFrame protoCallFrame; 842 protoCallFrame.init(codeBlock, globalObject, JSCallee::create(vm, globalObject, scope), thisObj, 1);843 protoCallFrame.init(codeBlock, globalObject, globalCallee, thisObj, 1); 843 844 844 845 // Execute the code: … … 1152 1153 ASSERT(codeBlock->numParameters() == 1); // 1 parameter for 'this'. 1153 1154 1155 JSCallee* callee = nullptr; 1156 if (scope == globalObject->globalScope()) 1157 callee = globalObject->globalCallee(); 1158 else 1159 callee = JSCallee::create(vm, globalObject, scope); 1154 1160 ProtoCallFrame protoCallFrame; 1155 protoCallFrame.init(codeBlock, globalObject, JSCallee::create(vm, globalObject, scope), thisValue, 1);1161 protoCallFrame.init(codeBlock, globalObject, callee, thisValue, 1); 1156 1162 1157 1163 // Execute the code:
Note:
See TracChangeset
for help on using the changeset viewer.