}
CompileMode compileMode = runtime.getInstanceConfig().getCompileMode();
if (compileMode == CompileMode.FORCE) {
// we pass in an ASTInspector that will force heap variables, so
// it uses our shared scope
ASTInspector inspector = new ASTInspector();
inspector.setFlag(ASTInspector.SCOPE_AWARE);
Script script = runtime.tryCompile(node, inspector);
if (script != null) {
return new EmbedEvalUnitImpl(container, node, scope, script);
} else {
return new EmbedEvalUnitImpl(container, node, scope);