Bug 753657 (part 3): Remove the remaining parts of TreeContextFlags. r=luke.
This commit is contained in:
@@ -157,8 +157,9 @@ frontend::CompileScript(JSContext *cx, JSObject *scopeChain, StackFrame *callerF
|
||||
/* If this is a direct call to eval, inherit the caller's strictness. */
|
||||
if (callerFrame &&
|
||||
callerFrame->isScriptFrame() &&
|
||||
callerFrame->script()->strictModeCode) {
|
||||
bce.sc->flags |= TCF_STRICT_MODE_CODE;
|
||||
callerFrame->script()->strictModeCode)
|
||||
{
|
||||
bce.sc->setInStrictMode();
|
||||
tokenStream.setStrictMode();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user