public class org.graalvm.compiler.lir.amd64.AMD64RestoreRegistersOp extends org.graalvm.compiler.lir.amd64.AMD64LIRInstruction implements org.graalvm.compiler.lir.StandardOp$RestoreRegistersOp
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.lir.amd64.AMD64RestoreRegistersOp
super_class: org.graalvm.compiler.lir.amd64.AMD64LIRInstruction
{
public static final org.graalvm.compiler.lir.LIRInstructionClass<org.graalvm.compiler.lir.amd64.AMD64RestoreRegistersOp> TYPE;
descriptor: Lorg/graalvm/compiler/lir/LIRInstructionClass;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/graalvm/compiler/lir/LIRInstructionClass<Lorg/graalvm/compiler/lir/amd64/AMD64RestoreRegistersOp;>;
protected final jdk.vm.ci.meta.AllocatableValue[] slots;
descriptor: [Ljdk/vm/ci/meta/AllocatableValue;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Use(value = {org.graalvm.compiler.lir.LIRInstruction$OperandFlag.STACK:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;})
private final org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp save;
descriptor: Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/lir/amd64/AMD64RestoreRegistersOp;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.compiler.lir.amd64.AMD64RestoreRegistersOp.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/lir/amd64/AMD64RestoreRegistersOp;
invokestatic org.graalvm.compiler.lir.LIRInstructionClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/lir/LIRInstructionClass;
putstatic org.graalvm.compiler.lir.amd64.AMD64RestoreRegistersOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.vm.ci.meta.AllocatableValue[], org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp);
descriptor: ([Ljdk/vm/ci/meta/AllocatableValue;Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic org.graalvm.compiler.lir.amd64.AMD64RestoreRegistersOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
aload 1
aload 2
invokespecial org.graalvm.compiler.lir.amd64.AMD64RestoreRegistersOp.<init>:(Lorg/graalvm/compiler/lir/LIRInstructionClass;[Ljdk/vm/ci/meta/AllocatableValue;Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/lir/amd64/AMD64RestoreRegistersOp;
0 2 1 values [Ljdk/vm/ci/meta/AllocatableValue;
0 2 2 save Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;
MethodParameters:
Name Flags
values
save
protected void <init>(org.graalvm.compiler.lir.LIRInstructionClass<? extends org.graalvm.compiler.lir.amd64.AMD64RestoreRegistersOp>, jdk.vm.ci.meta.AllocatableValue[], org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp);
descriptor: (Lorg/graalvm/compiler/lir/LIRInstructionClass;[Ljdk/vm/ci/meta/AllocatableValue;Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial org.graalvm.compiler.lir.amd64.AMD64LIRInstruction.<init>:(Lorg/graalvm/compiler/lir/LIRInstructionClass;)V
1: getstatic org.graalvm.compiler.lir.amd64.AMD64RestoreRegistersOp.$assertionsDisabled:Z
ifne 2
aload 2
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
org/graalvm/compiler/lir/LIRValueUtil.isVirtualStackSlot(Ljdk/vm/ci/meta/Value;)Z (6)
(Ljdk/vm/ci/meta/AllocatableValue;)Z
invokeinterface java.util.stream.Stream.allMatch:(Ljava/util/function/Predicate;)Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.graalvm.compiler.lir.amd64.AMD64RestoreRegistersOp org.graalvm.compiler.lir.LIRInstructionClass jdk.vm.ci.meta.AllocatableValue[] org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp
StackMap stack:
aload 0
aload 2
putfield org.graalvm.compiler.lir.amd64.AMD64RestoreRegistersOp.slots:[Ljdk/vm/ci/meta/AllocatableValue;
3: aload 0
aload 3
putfield org.graalvm.compiler.lir.amd64.AMD64RestoreRegistersOp.save:Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/lir/amd64/AMD64RestoreRegistersOp;
0 5 1 c Lorg/graalvm/compiler/lir/LIRInstructionClass<+Lorg/graalvm/compiler/lir/amd64/AMD64RestoreRegistersOp;>;
0 5 2 values [Ljdk/vm/ci/meta/AllocatableValue;
0 5 3 save Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;
Signature: (Lorg/graalvm/compiler/lir/LIRInstructionClass<+Lorg/graalvm/compiler/lir/amd64/AMD64RestoreRegistersOp;>;[Ljdk/vm/ci/meta/AllocatableValue;Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;)V
MethodParameters:
Name Flags
c
values
save
protected jdk.vm.ci.code.Register[] getSavedRegisters();
descriptor: ()[Ljdk/vm/ci/code/Register;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64RestoreRegistersOp.save:Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;
invokevirtual org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.getSavedRegisters:()[Ljdk/vm/ci/code/Register;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/amd64/AMD64RestoreRegistersOp;
protected void restoreRegister(org.graalvm.compiler.lir.asm.CompilationResultBuilder, org.graalvm.compiler.asm.amd64.AMD64MacroAssembler, jdk.vm.ci.code.Register, jdk.vm.ci.code.StackSlot);
descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/StackSlot;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
invokevirtual jdk.vm.ci.code.StackSlot.getPlatformKind:()Ljdk/vm/ci/meta/PlatformKind;
checkcast jdk.vm.ci.amd64.AMD64Kind
aload 1
aload 2
aload 3
aload 4
invokestatic org.graalvm.compiler.lir.amd64.AMD64Move.stack2reg:(Ljdk/vm/ci/amd64/AMD64Kind;Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;Ljdk/vm/ci/code/Register;Ljdk/vm/ci/meta/Value;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/lir/amd64/AMD64RestoreRegistersOp;
0 2 1 crb Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
0 2 2 masm Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;
0 2 3 result Ljdk/vm/ci/code/Register;
0 2 4 input Ljdk/vm/ci/code/StackSlot;
MethodParameters:
Name Flags
crb
masm
result
input
public void emitCode(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: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.graalvm.compiler.lir.amd64.AMD64RestoreRegistersOp.getSavedRegisters:()[Ljdk/vm/ci/code/Register;
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 7
3: StackMap locals: jdk.vm.ci.code.Register[] int
StackMap stack:
aload 3
iload 4
aaload
ifnull 6
4: getstatic org.graalvm.compiler.lir.amd64.AMD64RestoreRegistersOp.$assertionsDisabled:Z
ifne 5
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64RestoreRegistersOp.slots:[Ljdk/vm/ci/meta/AllocatableValue;
iload 4
aaload
invokestatic jdk.vm.ci.code.ValueUtil.isStackSlot:(Ljdk/vm/ci/meta/Value;)Z
ifne 5
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "not a StackSlot: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64RestoreRegistersOp.slots:[Ljdk/vm/ci/meta/AllocatableValue;
iload 4
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
iload 4
aaload
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64RestoreRegistersOp.slots:[Ljdk/vm/ci/meta/AllocatableValue;
iload 4
aaload
invokestatic jdk.vm.ci.code.ValueUtil.asStackSlot:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/StackSlot;
invokevirtual org.graalvm.compiler.lir.amd64.AMD64RestoreRegistersOp.restoreRegister:(Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/StackSlot;)V
6: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
aload 3
arraylength
if_icmplt 3
end local 4 8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/compiler/lir/amd64/AMD64RestoreRegistersOp;
0 9 1 crb Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
0 9 2 masm Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;
1 9 3 savedRegisters [Ljdk/vm/ci/code/Register;
2 8 4 i I
MethodParameters:
Name Flags
crb
masm
}
SourceFile: "AMD64RestoreRegistersOp.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final OperandFlag = org.graalvm.compiler.lir.LIRInstruction$OperandFlag of org.graalvm.compiler.lir.LIRInstruction
public abstract Use = org.graalvm.compiler.lir.LIRInstruction$Use of org.graalvm.compiler.lir.LIRInstruction
public abstract RestoreRegistersOp = org.graalvm.compiler.lir.StandardOp$RestoreRegistersOp of org.graalvm.compiler.lir.StandardOp
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.Opcode(value = "RESTORE_REGISTER")