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

org.jruby.compiler.ir.operands.BreakResult Maven / Gradle / Ivy

There is a newer version: 9.4.9.0
Show newest version
package org.jruby.compiler.ir.operands;
import org.jruby.compiler.ir.representations.InlinerInfo;

public class BreakResult extends Operand
{
    final public Operand _result;
    final public Label   _jumpTarget;

    public BreakResult(Operand v, Label l) { _result = v; _jumpTarget = l; }

    public String toString() { return "BRK(" + _result + ", " + _jumpTarget + ")"; }

    public Operand cloneForInlining(InlinerInfo ii) { 
        return new BreakResult(_result.cloneForInlining(ii), ii.getRenamedLabel(_jumpTarget));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy