use of com.github.anba.es6draft.compiler.CompiledScript in project es6draft by anba.
the class ScriptRuntime method setLegacyBlockFunction.
/**
* 18.2.1.2 Runtime Semantics: EvalDeclarationInstantiation( body, varEnv, lexEnv, strict)
*
* @param cx
* the execution context
* @param functionId
* the function id
*/
public static void setLegacyBlockFunction(ExecutionContext cx, int functionId) {
Executable executable = cx.getCurrentExecutable();
((CompiledScript) executable).setLegacyBlockFunction(functionId);
}
Aggregations