PermProps props = new PermProps(Arrays.asList(
new BindingProps(new BindingProperty[]{stackMode}, new String[]{"EMULATED"}, config)
));
JsProgram jsProgram = new JsProgram();
JavaToJavaScriptMap jjsmap = GenerateJavaScriptAST.exec(
logger, jProgram, jsProgram, context, typeMapper,
symbolTable, props).getLeft();
// Finally, run the pass we care about.
JsStackEmulator.exec(jProgram, jsProgram, props, jjsmap);