Changeset 61553 in webkit for trunk/JavaScriptCore/interpreter
- Timestamp:
- Jun 21, 2010, 10:43:03 AM (15 years ago)
- Location:
- trunk/JavaScriptCore/interpreter
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/interpreter/CallFrame.cpp
r60392 r61553 43 43 printf("Callpoint => %s:%d\n", urlString.ascii(), signedLineNumber); 44 44 } 45 46 RegisterFile* CallFrame::registerFile() 47 { 48 return &interpreter()->registerFile(); 49 } 50 45 51 #endif 46 52 -
trunk/JavaScriptCore/interpreter/CallFrame.h
r60762 r61553 118 118 { 119 119 ASSERT(callerFrame); // Use noCaller() rather than 0 for the outer host call frame caller. 120 ASSERT(callerFrame == noCaller() || callerFrame->removeHostCallFrameFlag()->registerFile()->end() >= this); 120 121 121 122 setCodeBlock(codeBlock); … … 156 157 private: 157 158 static const intptr_t HostCallFrameFlag = 1; 158 159 #ifndef NDEBUG 160 RegisterFile* registerFile(); 161 #endif 159 162 ExecState(); 160 163 ~ExecState(); -
trunk/JavaScriptCore/interpreter/Interpreter.cpp
r60762 r61553 3646 3646 ScopeChainNode* scopeChain = callFrame->scopeChain(); 3647 3647 CallFrame* newCallFrame = CallFrame::create(callFrame->registers() + registerOffset); 3648 if (!registerFile->grow(newCallFrame->registers())) { 3649 exceptionValue = createStackOverflowError(callFrame); 3650 goto vm_throw; 3651 } 3652 3648 3653 newCallFrame->init(0, vPC + OPCODE_LENGTH(op_call), scopeChain, callFrame, argCount, asObject(v)); 3649 3654 … … 3793 3798 ScopeChainNode* scopeChain = callFrame->scopeChain(); 3794 3799 CallFrame* newCallFrame = CallFrame::create(callFrame->registers() + registerOffset); 3800 if (!registerFile->grow(newCallFrame->registers())) { 3801 exceptionValue = createStackOverflowError(callFrame); 3802 goto vm_throw; 3803 } 3795 3804 newCallFrame->init(0, vPC + OPCODE_LENGTH(op_call_varargs), scopeChain, callFrame, argCount, asObject(v)); 3796 3805 … … 4111 4120 ScopeChainNode* scopeChain = callFrame->scopeChain(); 4112 4121 CallFrame* newCallFrame = CallFrame::create(callFrame->registers() + registerOffset); 4122 if (!registerFile->grow(newCallFrame->registers())) { 4123 exceptionValue = createStackOverflowError(callFrame); 4124 goto vm_throw; 4125 } 4113 4126 newCallFrame->init(0, vPC + OPCODE_LENGTH(op_construct), scopeChain, callFrame, argCount, asObject(v)); 4114 4127
Note:
See TracChangeset
for help on using the changeset viewer.