public Block ifNotNullGoto(LabelNode label) { nodes.add(JumpInstruction.jumpIfNotNull(label)); return this; }
public Block gotoLabel(LabelNode label) { nodes.add(JumpInstruction.jump(label)); return this; }
public Block ifNotZeroGoto(LabelNode label) { nodes.add(JumpInstruction.jumpIfNotEqualZero(label)); return this; }
@Override public Void visitJumpInstruction(ByteCodeNode parent, JumpInstruction jumpInstruction) { printLine("%s %s", jumpInstruction.getOpCode(), jumpInstruction.getLabel().getName()); return null; }