private int runMain() { addFunc("main", mainBlock); return prog.runFunction("main", args); }
private void addFunc(String name, Block block) { prog.addFunction(new Function(name, block, new ArrayList<String>())); }