src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/gen/LIRGeneratorTool.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/gen/LIRGeneratorTool.java

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/gen/LIRGeneratorTool.java

Print this page

        

*** 64,74 **** * * @param c The constant to check. * @return True if the constant can be used directly, false if the constant needs to be in a * register. */ ! boolean canInlineConstant(JavaConstant c); /** * @param constant The constant that might be moved to a stack slot. * @return {@code true} if constant to stack moves are supported for this constant. */ --- 64,74 ---- * * @param c The constant to check. * @return True if the constant can be used directly, false if the constant needs to be in a * register. */ ! boolean canInlineConstant(Constant c); /** * @param constant The constant that might be moved to a stack slot. * @return {@code true} if constant to stack moves are supported for this constant. */
*** 134,144 **** AllocatableValue emitLoadConstant(ValueKind<?> kind, Constant constant); void emitNullCheck(Value address, LIRFrameState state); ! Variable emitCompareAndSwap(Value address, Value expectedValue, Value newValue, Value trueValue, Value falseValue); /** * Emit an atomic read-and-add instruction. * * @param address address of the value to be read and written --- 134,146 ---- AllocatableValue emitLoadConstant(ValueKind<?> kind, Constant constant); void emitNullCheck(Value address, LIRFrameState state); ! Variable emitLogicCompareAndSwap(Value address, Value expectedValue, Value newValue, Value trueValue, Value falseValue); ! ! Value emitValueCompareAndSwap(Value address, Value expectedValue, Value newValue); /** * Emit an atomic read-and-add instruction. * * @param address address of the value to be read and written
*** 244,253 **** --- 246,260 ---- Variable emitByteSwap(Value operand); Variable emitArrayEquals(JavaKind kind, Value array1, Value array2, Value length); + @SuppressWarnings("unused") + default Variable emitStringIndexOf(Value sourcePointer, Value sourceCount, Value targetPointer, Value targetCount, int constantTargetCount) { + throw GraalError.unimplemented(); + } + void emitBlackhole(Value operand); LIRKind getLIRKind(Stamp stamp); void emitPause();
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/gen/LIRGeneratorTool.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File