public class AArch64NativeImagePatcher extends org.graalvm.compiler.code.CompilationResult.CodeAnnotation implements NativeImagePatcher
Constructor and Description |
---|
AArch64NativeImagePatcher(int instructionStartPosition,
org.graalvm.compiler.asm.amd64.AMD64BaseAssembler.OperandDataAnnotation annotation) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getLength()
The length of the value to patch in bytes, e.g., the size of an operand.
|
int |
getOffset()
The position from the beginning of the method where the patch is applied.
|
void |
patchCode(int relative,
byte[] code)
Patch directly in the code buffer with an offset relative to the start of this instruction.
|
public AArch64NativeImagePatcher(int instructionStartPosition, org.graalvm.compiler.asm.amd64.AMD64BaseAssembler.OperandDataAnnotation annotation)
public void patchCode(int relative, byte[] code)
NativeImagePatcher
patchCode
in interface NativeImagePatcher
public int getOffset()
NativeImagePatcher
getOffset
in interface NativeImagePatcher
public int getLength()
NativeImagePatcher
getLength
in interface NativeImagePatcher
public boolean equals(Object obj)
equals
in class org.graalvm.compiler.code.CompilationResult.CodeAnnotation