public class AMD64HostedPatcher extends org.graalvm.compiler.code.CompilationResult.CodeAnnotation implements HostedPatcher
| Constructor and Description |
|---|
AMD64HostedPatcher(org.graalvm.compiler.asm.amd64.AMD64BaseAssembler.OperandDataAnnotation annotation) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
void |
patch(int compStart,
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(org.graalvm.compiler.asm.amd64.AMD64BaseAssembler.OperandDataAnnotation annotation)
public void patch(int compStart,
int relative,
byte[] code)
HostedPatcherpatch in interface HostedPatchercompStart - codecache-relative starting position this method's machine coderelative - pc-relative offsetcode - machine code generated for this methodpublic boolean equals(Object obj)
equals in class org.graalvm.compiler.code.CompilationResult.CodeAnnotationpublic void relocate(jdk.vm.ci.code.site.Reference ref,
RelocatableBuffer relocs,
int compStart)
HostedPatcherrelocate in interface HostedPatcherref - value instruction sequence should refer torelocs - buffer of added relocation site informationcompStart - codecache-relative starting position this method's machine code