public class AMD64NativeImagePatcher extends org.graalvm.compiler.code.CompilationResult.CodeAnnotation implements NativeImagePatcher
| Constructor and Description |
|---|
AMD64NativeImagePatcher(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 AMD64NativeImagePatcher(int instructionStartPosition,
org.graalvm.compiler.asm.amd64.AMD64BaseAssembler.OperandDataAnnotation annotation)
public void patchCode(int relative,
byte[] code)
NativeImagePatcherpatchCode in interface NativeImagePatcherpublic int getOffset()
NativeImagePatchergetOffset in interface NativeImagePatcherpublic int getLength()
NativeImagePatchergetLength in interface NativeImagePatcherpublic boolean equals(Object obj)
equals in class org.graalvm.compiler.code.CompilationResult.CodeAnnotation