public void generateByteCode(BytecodeGenerator codeEmittor, boolean debug) { if (debug) codeEmittor.emitDebugCall(opcode.name()); // codeEmittor.emitCallWithArgsPA_A("insnANDBOOL"); codeEmittor.emitInlineAndBool(); }
public void generateByteCode(BytecodeGenerator codeEmittor, boolean debug) { if (debug) codeEmittor.emitDebugCall2(opcode.name(), Integer.toString(types), arity); // TODO add source line. codeEmittor.emitCallWithArgsSSFII_S("jvmOCALLDYN", types, arity, debug); // codeEmittor.emitIncSP(-arity-1); ?? codeEmittor.emitReturnValue2ACCU(); }
public void generateByteCode(BytecodeGenerator codeEmittor, boolean debug) { int what = (pos == -1) ? codeblock.getConstantIndex(codeblock.vf.string(fuid)) : codeblock.getFunctionIndex(fuid); if (debug) codeEmittor.emitDebugCall2( opcode.name(), (pos == -1) ? fuid : codeblock.getFunctionName(fuid), pos); codeEmittor.emitVoidCallWithArgsFII("RESETVAR", what, pos, debug); }