Changeset 51672 in webkit for trunk/JavaScriptCore/interpreter/CallFrame.h
- Timestamp:
- Dec 3, 2009, 6:17:46 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/interpreter/CallFrame.h
r48774 r51672 40 40 JSFunction* callee() const { return this[RegisterFile::Callee].function(); } 41 41 CodeBlock* codeBlock() const { return this[RegisterFile::CodeBlock].Register::codeBlock(); } 42 ScopeChainNode* scopeChain() const { return this[RegisterFile::ScopeChain].Register::scopeChain(); } 42 ScopeChainNode* scopeChain() const 43 { 44 ASSERT(this[RegisterFile::ScopeChain].Register::scopeChain()); 45 return this[RegisterFile::ScopeChain].Register::scopeChain(); 46 } 43 47 int argumentCount() const { return this[RegisterFile::ArgumentCount].i(); } 44 48 … … 67 71 JSGlobalData& globalData() const 68 72 { 73 ASSERT(scopeChain()->globalData); 69 74 return *scopeChain()->globalData; 70 75 }
Note:
See TracChangeset
for help on using the changeset viewer.