/** * Load some constant onto the stack. The {@link ConstantInstruction} * type takes any constant and correctly translates it into the proper * opcode, depending on the constant type and value. For example, * if the constant value is set to 0L, the opcode will be set to * <code>lconst0</code>. */ public ConstantInstruction constant() { return (ConstantInstruction) addInstruction(new ConstantInstruction (this)); }
/** * Load some constant onto the stack. The {@link ConstantInstruction} * type takes any constant and correctly translates it into the proper * opcode, depending on the constant type and value. For example, * if the constant value is set to 0L, the opcode will be set to * <code>lconst0</code>. */ public ConstantInstruction constant() { return (ConstantInstruction) addInstruction(new ConstantInstruction (this)); }
case Constants.LDCW: case Constants.LDC2W: return new ConstantInstruction(this, opcode); case Constants.ILOAD: case Constants.LLOAD:
case Constants.LDCW: case Constants.LDC2W: return new ConstantInstruction(this, opcode); case Constants.ILOAD: case Constants.LLOAD: