Changeset 115861 in webkit for trunk/Source/JavaScriptCore/interpreter/CallFrame.h
- Timestamp:
- May 2, 2012, 12:18:28 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/interpreter/CallFrame.h
r115388 r115861 172 172 { 173 173 ASSERT(callerFrame); // Use noCaller() rather than 0 for the outer host call frame caller. 174 ASSERT(callerFrame == noCaller() || callerFrame->removeHostCallFrameFlag()->registerFile()-> commitEnd() >= this);174 ASSERT(callerFrame == noCaller() || callerFrame->removeHostCallFrameFlag()->registerFile()->end() >= this); 175 175 176 176 setCodeBlock(codeBlock); … … 255 255 CallFrame* trueCallFrameFromVMCode() { return trueCallFrame(AbstractPC()); } 256 256 257 Register* startOfReusableRegisterFile()258 {259 CallFrame* result = globalData().topCallFrame;260 if (result == noCaller() || result == registerFile()->begin())261 return registerFile()->begin();262 return result->frameExtent();263 }264 265 257 private: 266 258 static const intptr_t HostCallFrameFlag = 1; … … 268 260 static const int s_firstArgumentOffset = s_thisArgumentOffset - 1; 269 261 262 #ifndef NDEBUG 270 263 RegisterFile* registerFile(); 271 264 #endif 272 265 #if ENABLE(DFG_JIT) 273 266 bool isInlineCallFrameSlow();
Note:
See TracChangeset
for help on using the changeset viewer.