All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jruby.ir.instructions.boxing.BoxInstr Maven / Gradle / Ivy

package org.jruby.ir.instructions.boxing;

import org.jruby.ir.Operation;
import org.jruby.ir.instructions.NOperandResultBaseInstr;
import org.jruby.ir.operands.Operand;
import org.jruby.ir.operands.Variable;

public abstract class BoxInstr extends NOperandResultBaseInstr {
    public BoxInstr(Operation op, Variable result, Operand val) {
        super(op, result, new Operand[] { val });
    }

    public Operand getValue() {
        return getOperands()[0];
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy