Bug 462300 - Embed self-hosted scripts and compile into special compartment. r=bhackett, r=gerv, r=ted

This commit is contained in:
Till Schneidereit
2012-07-23 23:01:54 +02:00
parent df9d3e4926
commit 6ad28aa9df
30 changed files with 1260 additions and 80 deletions

View File

@@ -111,7 +111,7 @@ frontend::CompileScript(JSContext *cx, HandleObject scopeChain, StackFrame *call
JS_ASSERT_IF(globalScope, JSCLASS_HAS_GLOBAL_FLAG_AND_SLOTS(globalScope->getClass()));
BytecodeEmitter bce(/* parent = */ NULL, &parser, &sc, script, callerFrame, !!globalScope,
options.lineno);
options.lineno, options.selfHostingMode);
if (!bce.init())
return NULL;