public class AMD64HostedPatcher extends org.graalvm.compiler.code.CompilationResult.CodeAnnotation implements HostedPatcher
Constructor and Description |
---|
AMD64HostedPatcher(int instructionStartPosition,
org.graalvm.compiler.asm.amd64.AMD64BaseAssembler.OperandDataAnnotation annotation) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
void |
patch(int codePos,
int relative,
byte[] code)
Patch the code buffer.
|
void |
relocate(jdk.vm.ci.code.site.Reference ref,
RelocatableBuffer relocs,
int compStart)
Create relocation for the binary file.
|
public AMD64HostedPatcher(int instructionStartPosition, org.graalvm.compiler.asm.amd64.AMD64BaseAssembler.OperandDataAnnotation annotation)
public void patch(int codePos, int relative, byte[] code)
HostedPatcher
patch
in interface HostedPatcher
public boolean equals(Object obj)
equals
in class org.graalvm.compiler.code.CompilationResult.CodeAnnotation
public void relocate(jdk.vm.ci.code.site.Reference ref, RelocatableBuffer relocs, int compStart)
HostedPatcher
relocate
in interface HostedPatcher