public class org.graalvm.compiler.lir.amd64.AMD64Call
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.lir.amd64.AMD64Call
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/amd64/AMD64Call;
public static int directCall(org.graalvm.compiler.lir.asm.CompilationResultBuilder, org.graalvm.compiler.asm.amd64.AMD64MacroAssembler, jdk.vm.ci.meta.InvokeTarget, jdk.vm.ci.code.Register, boolean, org.graalvm.compiler.lir.LIRFrameState);
descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;Ljdk/vm/ci/meta/InvokeTarget;Ljdk/vm/ci/code/Register;ZLorg/graalvm/compiler/lir/LIRFrameState;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 4
ifeq 2
1: aload 0
aload 1
invokestatic org.graalvm.compiler.lir.amd64.AMD64Call.emitAlignmentForDirectCall:(Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;)V
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
istore 6
start local 6 3: aload 3
ifnull 8
getstatic org.graalvm.compiler.core.common.GraalOptions.GeneratePIC:Lorg/graalvm/compiler/options/OptionKey;
aload 0
invokevirtual org.graalvm.compiler.lir.asm.CompilationResultBuilder.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 8
4: aload 1
aload 3
lconst_0
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.movq:(Ljdk/vm/ci/code/Register;J)V
5: aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
istore 7
start local 7 6: aload 1
aload 3
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.call:(Ljdk/vm/ci/code/Register;)V
7: goto 10
end local 7 8: StackMap locals: int
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
istore 7
start local 7 9: aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.call:()V
10: StackMap locals: int
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
istore 8
start local 8 11: aload 0
iload 6
iload 8
aload 2
aload 5
invokevirtual org.graalvm.compiler.lir.asm.CompilationResultBuilder.recordDirectCall:(IILjdk/vm/ci/meta/InvokeTarget;Lorg/graalvm/compiler/lir/LIRFrameState;)V
12: aload 0
iload 8
aload 5
invokevirtual org.graalvm.compiler.lir.asm.CompilationResultBuilder.recordExceptionHandlers:(ILorg/graalvm/compiler/lir/LIRFrameState;)V
13: aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.ensureUniquePC:()V
14: iload 7
ireturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 crb Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
0 15 1 masm Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;
0 15 2 callTarget Ljdk/vm/ci/meta/InvokeTarget;
0 15 3 scratch Ljdk/vm/ci/code/Register;
0 15 4 align Z
0 15 5 info Lorg/graalvm/compiler/lir/LIRFrameState;
3 15 6 before I
6 8 7 callPCOffset I
9 15 7 callPCOffset I
11 15 8 after I
MethodParameters:
Name Flags
crb
masm
callTarget
scratch
align
info
protected static void emitAlignmentForDirectCall(org.graalvm.compiler.lir.asm.CompilationResultBuilder, org.graalvm.compiler.asm.amd64.AMD64MacroAssembler);
descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
istore 2
start local 2 1: iload 2
aload 0
getfield org.graalvm.compiler.lir.asm.CompilationResultBuilder.target:Ljdk/vm/ci/code/TargetDescription;
getfield jdk.vm.ci.code.TargetDescription.arch:Ljdk/vm/ci/code/Architecture;
invokevirtual jdk.vm.ci.code.Architecture.getMachineCodeCallDisplacementOffset:()I
iadd
istore 2
2: aload 0
getfield org.graalvm.compiler.lir.asm.CompilationResultBuilder.target:Ljdk/vm/ci/code/TargetDescription;
getfield jdk.vm.ci.code.TargetDescription.wordSize:I
istore 3
start local 3 3: iload 2
iload 3
irem
ifeq 5
4: aload 1
iload 3
iload 2
iload 3
irem
isub
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.nop:(I)V
5: StackMap locals: int int
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 crb Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
0 6 1 masm Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;
1 6 2 offset I
3 6 3 modulus I
MethodParameters:
Name Flags
crb
masm
public static int directJmp(org.graalvm.compiler.lir.asm.CompilationResultBuilder, org.graalvm.compiler.asm.amd64.AMD64MacroAssembler, jdk.vm.ci.meta.InvokeTarget);
descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;Ljdk/vm/ci/meta/InvokeTarget;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokestatic org.graalvm.compiler.lir.amd64.AMD64Call.directJmp:(Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;Ljdk/vm/ci/meta/InvokeTarget;Ljdk/vm/ci/code/Register;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 crb Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
0 1 1 masm Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;
0 1 2 target Ljdk/vm/ci/meta/InvokeTarget;
MethodParameters:
Name Flags
crb
masm
target
public static int directJmp(org.graalvm.compiler.lir.asm.CompilationResultBuilder, org.graalvm.compiler.asm.amd64.AMD64MacroAssembler, jdk.vm.ci.meta.InvokeTarget, jdk.vm.ci.code.Register);
descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;Ljdk/vm/ci/meta/InvokeTarget;Ljdk/vm/ci/code/Register;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
istore 4
start local 4 1: aload 3
ifnull 6
getstatic org.graalvm.compiler.core.common.GraalOptions.GeneratePIC:Lorg/graalvm/compiler/options/OptionKey;
aload 0
invokevirtual org.graalvm.compiler.lir.asm.CompilationResultBuilder.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 6
2: aload 1
aload 3
lconst_0
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.movq:(Ljdk/vm/ci/code/Register;J)V
3: aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
istore 5
start local 5 4: aload 1
aload 3
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.jmp:(Ljdk/vm/ci/code/Register;)V
5: goto 8
end local 5 6: StackMap locals: int
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
istore 5
start local 5 7: aload 1
iconst_0
iconst_1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.jmp:(IZ)V
8: StackMap locals: int
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
istore 6
start local 6 9: aload 0
iload 4
iload 6
aload 2
aconst_null
invokevirtual org.graalvm.compiler.lir.asm.CompilationResultBuilder.recordDirectCall:(IILjdk/vm/ci/meta/InvokeTarget;Lorg/graalvm/compiler/lir/LIRFrameState;)V
10: aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.ensureUniquePC:()V
11: iload 5
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 crb Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
0 12 1 masm Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;
0 12 2 target Ljdk/vm/ci/meta/InvokeTarget;
0 12 3 scratch Ljdk/vm/ci/code/Register;
1 12 4 before I
4 6 5 callPCOffset I
7 12 5 callPCOffset I
9 12 6 after I
MethodParameters:
Name Flags
crb
masm
target
scratch
public static void directConditionalJmp(org.graalvm.compiler.lir.asm.CompilationResultBuilder, org.graalvm.compiler.asm.amd64.AMD64MacroAssembler, jdk.vm.ci.meta.InvokeTarget, org.graalvm.compiler.asm.amd64.AMD64Assembler$ConditionFlag);
descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;Ljdk/vm/ci/meta/InvokeTarget;Lorg/graalvm/compiler/asm/amd64/AMD64Assembler$ConditionFlag;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
istore 4
start local 4 1: aload 1
aload 3
iconst_0
iconst_1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.jcc:(Lorg/graalvm/compiler/asm/amd64/AMD64Assembler$ConditionFlag;IZ)V
2: aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
istore 5
start local 5 3: aload 0
iload 4
iload 5
aload 2
aconst_null
invokevirtual org.graalvm.compiler.lir.asm.CompilationResultBuilder.recordDirectCall:(IILjdk/vm/ci/meta/InvokeTarget;Lorg/graalvm/compiler/lir/LIRFrameState;)V
4: aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.ensureUniquePC:()V
5: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 crb Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
0 6 1 masm Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;
0 6 2 target Ljdk/vm/ci/meta/InvokeTarget;
0 6 3 cond Lorg/graalvm/compiler/asm/amd64/AMD64Assembler$ConditionFlag;
1 6 4 before I
3 6 5 after I
MethodParameters:
Name Flags
crb
masm
target
cond
public static int indirectCall(org.graalvm.compiler.lir.asm.CompilationResultBuilder, org.graalvm.compiler.asm.amd64.AMD64MacroAssembler, jdk.vm.ci.code.Register, jdk.vm.ci.meta.InvokeTarget, org.graalvm.compiler.lir.LIRFrameState);
descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;Ljdk/vm/ci/code/Register;Ljdk/vm/ci/meta/InvokeTarget;Lorg/graalvm/compiler/lir/LIRFrameState;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
istore 5
start local 5 1: aload 1
aload 2
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.call:(Ljdk/vm/ci/code/Register;)V
2: aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
istore 6
start local 6 3: aload 0
iload 5
iload 6
aload 3
aload 4
invokevirtual org.graalvm.compiler.lir.asm.CompilationResultBuilder.recordIndirectCall:(IILjdk/vm/ci/meta/InvokeTarget;Lorg/graalvm/compiler/lir/LIRFrameState;)V
4: aload 0
iload 6
aload 4
invokevirtual org.graalvm.compiler.lir.asm.CompilationResultBuilder.recordExceptionHandlers:(ILorg/graalvm/compiler/lir/LIRFrameState;)V
5: aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.ensureUniquePC:()V
6: iload 5
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 crb Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
0 7 1 masm Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;
0 7 2 dst Ljdk/vm/ci/code/Register;
0 7 3 callTarget Ljdk/vm/ci/meta/InvokeTarget;
0 7 4 info Lorg/graalvm/compiler/lir/LIRFrameState;
1 7 5 before I
3 7 6 after I
MethodParameters:
Name Flags
crb
masm
dst
callTarget
info
}
SourceFile: "AMD64Call.java"
NestMembers:
org.graalvm.compiler.lir.amd64.AMD64Call$CallOp org.graalvm.compiler.lir.amd64.AMD64Call$DirectCallOp org.graalvm.compiler.lir.amd64.AMD64Call$DirectFarForeignCallOp org.graalvm.compiler.lir.amd64.AMD64Call$DirectNearForeignCallOp org.graalvm.compiler.lir.amd64.AMD64Call$ForeignCallOp org.graalvm.compiler.lir.amd64.AMD64Call$IndirectCallOp org.graalvm.compiler.lir.amd64.AMD64Call$MethodCallOp
InnerClasses:
public final ConditionFlag = org.graalvm.compiler.asm.amd64.AMD64Assembler$ConditionFlag of org.graalvm.compiler.asm.amd64.AMD64Assembler
public abstract CallOp = org.graalvm.compiler.lir.amd64.AMD64Call$CallOp of org.graalvm.compiler.lir.amd64.AMD64Call
public DirectCallOp = org.graalvm.compiler.lir.amd64.AMD64Call$DirectCallOp of org.graalvm.compiler.lir.amd64.AMD64Call
public final DirectFarForeignCallOp = org.graalvm.compiler.lir.amd64.AMD64Call$DirectFarForeignCallOp of org.graalvm.compiler.lir.amd64.AMD64Call
public final DirectNearForeignCallOp = org.graalvm.compiler.lir.amd64.AMD64Call$DirectNearForeignCallOp of org.graalvm.compiler.lir.amd64.AMD64Call
public abstract ForeignCallOp = org.graalvm.compiler.lir.amd64.AMD64Call$ForeignCallOp of org.graalvm.compiler.lir.amd64.AMD64Call
public IndirectCallOp = org.graalvm.compiler.lir.amd64.AMD64Call$IndirectCallOp of org.graalvm.compiler.lir.amd64.AMD64Call
public abstract MethodCallOp = org.graalvm.compiler.lir.amd64.AMD64Call$MethodCallOp of org.graalvm.compiler.lir.amd64.AMD64Call