diff options
Diffstat (limited to 'JavaScriptCore/interpreter/CallFrame.h')
-rw-r--r-- | JavaScriptCore/interpreter/CallFrame.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/JavaScriptCore/interpreter/CallFrame.h b/JavaScriptCore/interpreter/CallFrame.h index 723d4ae..7ea59fb 100644 --- a/JavaScriptCore/interpreter/CallFrame.h +++ b/JavaScriptCore/interpreter/CallFrame.h @@ -117,6 +117,7 @@ namespace JSC { CallFrame* callerFrame, int argc, JSObject* callee) { ASSERT(callerFrame); // Use noCaller() rather than 0 for the outer host call frame caller. + ASSERT(callerFrame == noCaller() || callerFrame->removeHostCallFrameFlag()->registerFile()->end() >= this); setCodeBlock(codeBlock); setScopeChain(scopeChain); @@ -155,7 +156,9 @@ namespace JSC { private: static const intptr_t HostCallFrameFlag = 1; - +#ifndef NDEBUG + RegisterFile* registerFile(); +#endif ExecState(); ~ExecState(); }; |