use of org.graalvm.compiler.lir.sparc.SPARCMove.NullCheckOp in project graal by oracle.
the class SPARCHotSpotLIRGenerator method emitNullCheck.
@Override
public void emitNullCheck(Value address, LIRFrameState state) {
PlatformKind kind = address.getPlatformKind();
if (kind == WORD) {
CompressEncoding encoding = config.getOopEncoding();
Value uncompressed = emitUncompress(address, encoding, false);
append(new NullCheckOp(asAddressValue(uncompressed), state));
} else {
super.emitNullCheck(address, state);
}
}
use of org.graalvm.compiler.lir.sparc.SPARCMove.NullCheckOp in project graal by oracle.
the class SPARCLIRGenerator method emitNullCheck.
@Override
public void emitNullCheck(Value address, LIRFrameState state) {
PlatformKind kind = address.getPlatformKind();
assert kind == XWORD : address + " - " + kind + " not an object!";
append(new NullCheckOp(asAddressValue(address), state));
}
Aggregations