Changeset 44344 in webkit for trunk/JavaScriptCore/interpreter/CallFrame.h
- Timestamp:
- Jun 1, 2009, 10:36:18 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/interpreter/CallFrame.h
r44224 r44344 96 96 static const HashTable* stringTable(CallFrame* callFrame) { return callFrame->globalData().stringTable; } 97 97 98 private:99 friend class Arguments;100 friend class JSActivation;101 friend class JSGlobalObject;102 friend class Interpreter;103 friend class JITStubs;104 friend struct CallFrameClosure;105 106 98 static CallFrame* create(Register* callFrameBase) { return static_cast<CallFrame*>(callFrameBase); } 107 99 Register* registers() { return this; } … … 112 104 Arguments* optionalCalleeArguments() const { return this[RegisterFile::OptionalCalleeArguments].arguments(); } 113 105 Instruction* returnPC() const { return this[RegisterFile::ReturnPC].vPC(); } 114 int returnValueRegister() const { return this[RegisterFile::ReturnValueRegister].i(); }115 106 116 void setArgumentCount(int count) { this[RegisterFile::ArgumentCount] = count; }117 void setCallee(JSFunction* callee) { this[RegisterFile::Callee] = callee; }118 107 void setCalleeArguments(Arguments* arguments) { this[RegisterFile::OptionalCalleeArguments] = arguments; } 119 108 void setCallerFrame(CallFrame* callerFrame) { this[RegisterFile::CallerFrame] = callerFrame; } 120 void setCodeBlock(CodeBlock* codeBlock) { this[RegisterFile::CodeBlock] = codeBlock; }121 109 void setScopeChain(ScopeChainNode* scopeChain) { this[RegisterFile::ScopeChain] = scopeChain; } 122 110 … … 136 124 } 137 125 126 private: 127 friend class Arguments; 128 friend class JSActivation; 129 friend class JSGlobalObject; 130 friend class Interpreter; 131 friend struct CallFrameClosure; 132 133 int returnValueRegister() const { return this[RegisterFile::ReturnValueRegister].i(); } 134 135 void setArgumentCount(int count) { this[RegisterFile::ArgumentCount] = count; } 136 void setCallee(JSFunction* callee) { this[RegisterFile::Callee] = callee; } 137 void setCodeBlock(CodeBlock* codeBlock) { this[RegisterFile::CodeBlock] = codeBlock; } 138 138 139 static const intptr_t HostCallFrameFlag = 1; 139 140
Note:
See TracChangeset
for help on using the changeset viewer.