Changeset 60376 in webkit for trunk/JavaScriptCore/interpreter
- Timestamp:
- May 28, 2010, 2:18:35 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/interpreter/CallFrame.h
r60125 r60376 126 126 setScopeChain(scopeChain); 127 127 setCallerFrame(callerFrame); 128 s tatic_cast<Register*>(this)[RegisterFile::ReturnPC] = vPC; // This is either an Instruction* or a pointer into JIT generated code stored as an Instruction*.128 setReturnPC(vPC); // This is either an Instruction* or a pointer into JIT generated code stored as an Instruction*. 129 129 setArgumentCount(argc); // original argument count (for the sake of the "arguments" object) 130 130 setCallee(function); … … 143 143 void setCallee(JSFunction* callee) { static_cast<Register*>(this)[RegisterFile::Callee] = callee; } 144 144 void setCodeBlock(CodeBlock* codeBlock) { static_cast<Register*>(this)[RegisterFile::CodeBlock] = codeBlock; } 145 void setReturnPC(void* value) { static_cast<Register*>(this)[RegisterFile::ReturnPC] = (Instruction*)value; } 145 146 146 147 private:
Note:
See TracChangeset
for help on using the changeset viewer.