< prev index next >
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/StandardOp.java
Print this page
*** 68,81 ****
public interface ImplicitNullCheck {
boolean makeNullCheckFor(Value value, LIRFrameState nullCheckState, int implicitNullCheckLimit);
}
/**
* LIR operation that defines the position of a label.
*/
! public static final class LabelOp extends LIRInstruction {
public static final LIRInstructionClass<LabelOp> TYPE = LIRInstructionClass.create(LabelOp.class);
public static final EnumSet<OperandFlag> incomingFlags = EnumSet.of(REG, STACK);
/**
* In the LIR, every register and variable must be defined before it is used. For method
--- 68,85 ----
public interface ImplicitNullCheck {
boolean makeNullCheckFor(Value value, LIRFrameState nullCheckState, int implicitNullCheckLimit);
}
+ public interface LabelHoldingOp {
+ Label getLabel();
+ }
+
/**
* LIR operation that defines the position of a label.
*/
! public static final class LabelOp extends LIRInstruction implements LabelHoldingOp {
public static final LIRInstructionClass<LabelOp> TYPE = LIRInstructionClass.create(LabelOp.class);
public static final EnumSet<OperandFlag> incomingFlags = EnumSet.of(REG, STACK);
/**
* In the LIR, every register and variable must be defined before it is used. For method
*** 153,162 ****
--- 157,167 ----
crb.asm.align(crb.target.wordSize * 2);
}
crb.asm.bind(label);
}
+ @Override
public Label getLabel() {
return label;
}
/**
< prev index next >