Bug 625199 - kill dummy frames (r=mrbkap)

This commit is contained in:
Luke Wagner
2012-08-17 18:05:06 -07:00
parent b72caf1526
commit 88c2971644
34 changed files with 376 additions and 633 deletions

View File

@@ -128,7 +128,7 @@ frontend::CompileScript(JSContext *cx, HandleObject scopeChain, StackFrame *call
return NULL;
/* If this is a direct call to eval, inherit the caller's strictness. */
if (callerFrame && callerFrame->isScriptFrame() && callerFrame->script()->strictModeCode)
if (callerFrame && callerFrame->script()->strictModeCode)
sc.strictModeState = StrictMode::STRICT;
if (options.compileAndGo) {