public class org.jruby.ir.instructions.InstanceSuperInstr extends org.jruby.ir.instructions.CallInstr
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.instructions.InstanceSuperInstr
super_class: org.jruby.ir.instructions.CallInstr
{
protected void <init>(org.jruby.ir.IRScope, org.jruby.ir.operands.Variable, org.jruby.ir.operands.Operand, org.jruby.RubySymbol, org.jruby.ir.operands.Operand[], org.jruby.ir.operands.Operand, boolean, org.jruby.runtime.CallSite, long);
descriptor: (Lorg/jruby/ir/IRScope;Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;Lorg/jruby/RubySymbol;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;ZLorg/jruby/runtime/CallSite;J)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=13, locals=11, args_size=10
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 0: aload 0
aload 1
getstatic org.jruby.ir.Operation.INSTANCE_SUPER:Lorg/jruby/ir/Operation;
getstatic org.jruby.runtime.CallType.SUPER:Lorg/jruby/runtime/CallType;
aload 2
aload 4
aload 3
aload 5
aload 6
1: iload 7
aload 8
lload 9
invokespecial org.jruby.ir.instructions.CallInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/ir/Operation;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;ZLorg/jruby/runtime/CallSite;J)V
2: return
end local 9 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 3 0 this Lorg/jruby/ir/instructions/InstanceSuperInstr;
0 3 1 scope Lorg/jruby/ir/IRScope;
0 3 2 result Lorg/jruby/ir/operands/Variable;
0 3 3 definingModule Lorg/jruby/ir/operands/Operand;
0 3 4 name Lorg/jruby/RubySymbol;
0 3 5 args [Lorg/jruby/ir/operands/Operand;
0 3 6 closure Lorg/jruby/ir/operands/Operand;
0 3 7 isPotentiallyRefined Z
0 3 8 callSite Lorg/jruby/runtime/CallSite;
0 3 9 callSiteId J
MethodParameters:
Name Flags
scope
result
definingModule
name
args
closure
isPotentiallyRefined
callSite
callSiteId
public void <init>(org.jruby.ir.IRScope, org.jruby.ir.operands.Variable, org.jruby.ir.operands.Operand, org.jruby.RubySymbol, org.jruby.ir.operands.Operand[], org.jruby.ir.operands.Operand, boolean);
descriptor: (Lorg/jruby/ir/IRScope;Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;Lorg/jruby/RubySymbol;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
getstatic org.jruby.ir.Operation.INSTANCE_SUPER:Lorg/jruby/ir/Operation;
getstatic org.jruby.runtime.CallType.SUPER:Lorg/jruby/runtime/CallType;
aload 2
aload 4
aload 3
aload 5
aload 6
iload 7
invokespecial org.jruby.ir.instructions.CallInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/ir/Operation;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;Z)V
1: return
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 2 0 this Lorg/jruby/ir/instructions/InstanceSuperInstr;
0 2 1 scope Lorg/jruby/ir/IRScope;
0 2 2 result Lorg/jruby/ir/operands/Variable;
0 2 3 definingModule Lorg/jruby/ir/operands/Operand;
0 2 4 name Lorg/jruby/RubySymbol;
0 2 5 args [Lorg/jruby/ir/operands/Operand;
0 2 6 closure Lorg/jruby/ir/operands/Operand;
0 2 7 isPotentiallyRefined Z
MethodParameters:
Name Flags
scope
result
definingModule
name
args
closure
isPotentiallyRefined
public org.jruby.ir.operands.Operand getDefiningModule();
descriptor: ()Lorg/jruby/ir/operands/Operand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ir.instructions.InstanceSuperInstr.getReceiver:()Lorg/jruby/ir/operands/Operand;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/InstanceSuperInstr;
public org.jruby.ir.instructions.Instr clone(org.jruby.ir.transformations.inlining.CloneInfo);
descriptor: (Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/instructions/Instr;
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.ir.instructions.InstanceSuperInstr
dup
aload 1
invokevirtual org.jruby.ir.transformations.inlining.CloneInfo.getScope:()Lorg/jruby/ir/IRScope;
aload 1
aload 0
invokevirtual org.jruby.ir.instructions.InstanceSuperInstr.getResult:()Lorg/jruby/ir/operands/Variable;
invokevirtual org.jruby.ir.transformations.inlining.CloneInfo.getRenamedVariable:(Lorg/jruby/ir/operands/Variable;)Lorg/jruby/ir/operands/Variable;
1: aload 0
invokevirtual org.jruby.ir.instructions.InstanceSuperInstr.getDefiningModule:()Lorg/jruby/ir/operands/Operand;
aload 1
invokevirtual org.jruby.ir.operands.Operand.cloneForInlining:(Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/operands/Operand;
aload 0
invokevirtual org.jruby.ir.instructions.InstanceSuperInstr.getName:()Lorg/jruby/RubySymbol;
aload 0
aload 1
invokevirtual org.jruby.ir.instructions.InstanceSuperInstr.cloneCallArgs:(Lorg/jruby/ir/transformations/inlining/CloneInfo;)[Lorg/jruby/ir/operands/Operand;
2: aload 0
invokevirtual org.jruby.ir.instructions.InstanceSuperInstr.getClosureArg:()Lorg/jruby/ir/operands/Operand;
ifnonnull 3
aconst_null
goto 4
StackMap locals: org.jruby.ir.instructions.InstanceSuperInstr org.jruby.ir.transformations.inlining.CloneInfo
StackMap stack: new 0 new 0 org.jruby.ir.IRScope org.jruby.ir.operands.Variable org.jruby.ir.operands.Operand org.jruby.RubySymbol org.jruby.ir.operands.Operand[]
3: aload 0
invokevirtual org.jruby.ir.instructions.InstanceSuperInstr.getClosureArg:()Lorg/jruby/ir/operands/Operand;
aload 1
invokevirtual org.jruby.ir.operands.Operand.cloneForInlining:(Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/operands/Operand;
4: StackMap locals: org.jruby.ir.instructions.InstanceSuperInstr org.jruby.ir.transformations.inlining.CloneInfo
StackMap stack: new 0 new 0 org.jruby.ir.IRScope org.jruby.ir.operands.Variable org.jruby.ir.operands.Operand org.jruby.RubySymbol org.jruby.ir.operands.Operand[] org.jruby.ir.operands.Operand
aload 0
invokevirtual org.jruby.ir.instructions.InstanceSuperInstr.isPotentiallyRefined:()Z
aload 0
invokevirtual org.jruby.ir.instructions.InstanceSuperInstr.getCallSite:()Lorg/jruby/runtime/CallSite;
aload 0
invokevirtual org.jruby.ir.instructions.InstanceSuperInstr.getCallSiteId:()J
5: invokespecial org.jruby.ir.instructions.InstanceSuperInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;Lorg/jruby/RubySymbol;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;ZLorg/jruby/runtime/CallSite;J)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ir/instructions/InstanceSuperInstr;
0 6 1 ii Lorg/jruby/ir/transformations/inlining/CloneInfo;
MethodParameters:
Name Flags
ii
public static org.jruby.ir.instructions.InstanceSuperInstr decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/instructions/InstanceSuperInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=9, args_size=1
start local 0 0: getstatic org.jruby.RubyInstanceConfig.IR_READING_DEBUG:Z
ifeq 1
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "decoding super"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeInt:()I
istore 1
start local 1 2: getstatic org.jruby.RubyInstanceConfig.IR_READING_DEBUG:Z
ifeq 3
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "decoding super, calltype(ord): "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: StackMap locals: int
StackMap stack:
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeSymbol:()Lorg/jruby/RubySymbol;
astore 2
start local 2 4: getstatic org.jruby.RubyInstanceConfig.IR_READING_DEBUG:Z
ifeq 5
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "decoding super, methaddr: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: StackMap locals: org.jruby.RubySymbol
StackMap stack:
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeOperand:()Lorg/jruby/ir/operands/Operand;
astore 3
start local 3 6: aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeInt:()I
istore 4
start local 4 7: iload 4
ifge 8
iconst_1
goto 9
StackMap locals: org.jruby.ir.operands.Operand int
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: istore 5
start local 5 10: iload 5
ifeq 11
iconst_m1
iload 4
iconst_1
iadd
imul
goto 12
StackMap locals: int
StackMap stack:
11: iload 4
StackMap locals:
StackMap stack: int
12: istore 6
start local 6 13: getstatic org.jruby.RubyInstanceConfig.IR_READING_DEBUG:Z
ifeq 14
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "ARGS: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 6
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", CLOSURE: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 5
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
14: StackMap locals: int
StackMap stack:
iload 6
anewarray org.jruby.ir.operands.Operand
astore 7
start local 7 15: iconst_0
istore 8
start local 8 16: goto 19
17: StackMap locals: org.jruby.ir.operands.Operand[] int
StackMap stack:
aload 7
iload 8
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeOperand:()Lorg/jruby/ir/operands/Operand;
aastore
18: iinc 8 1
StackMap locals:
StackMap stack:
19: iload 8
iload 6
if_icmplt 17
end local 8 20: iload 5
ifeq 21
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeOperand:()Lorg/jruby/ir/operands/Operand;
goto 22
StackMap locals:
StackMap stack:
21: aconst_null
StackMap locals:
StackMap stack: org.jruby.ir.operands.Operand
22: astore 8
start local 8 23: new org.jruby.ir.instructions.InstanceSuperInstr
dup
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.getCurrentScope:()Lorg/jruby/ir/IRScope;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeVariable:()Lorg/jruby/ir/operands/Variable;
aload 3
aload 2
aload 7
aload 8
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.getCurrentScope:()Lorg/jruby/ir/IRScope;
invokevirtual org.jruby.ir.IRScope.maybeUsingRefinements:()Z
invokespecial org.jruby.ir.instructions.InstanceSuperInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;Lorg/jruby/RubySymbol;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;Z)V
areturn
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 24 0 d Lorg/jruby/ir/persistence/IRReaderDecoder;
2 24 1 callTypeOrdinal I
4 24 2 name Lorg/jruby/RubySymbol;
6 24 3 receiver Lorg/jruby/ir/operands/Operand;
7 24 4 argsCount I
10 24 5 hasClosureArg Z
13 24 6 argsLength I
15 24 7 args [Lorg/jruby/ir/operands/Operand;
16 20 8 i I
23 24 8 closure Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
d
public java.lang.Object interpret(org.jruby.runtime.ThreadContext, org.jruby.parser.StaticScope, org.jruby.runtime.DynamicScope, org.jruby.runtime.builtin.IRubyObject, java.lang.Object[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/DynamicScope;Lorg/jruby/runtime/builtin/IRubyObject;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 4
aload 2
aload 3
aload 5
invokevirtual org.jruby.ir.instructions.InstanceSuperInstr.prepareArguments:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/DynamicScope;[Ljava/lang/Object;)[Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
start local 6 1: aload 0
aload 1
aload 4
aload 2
aload 3
aload 5
invokevirtual org.jruby.ir.instructions.InstanceSuperInstr.prepareBlock:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/DynamicScope;[Ljava/lang/Object;)Lorg/jruby/runtime/Block;
astore 7
start local 7 2: aload 0
invokevirtual org.jruby.ir.instructions.InstanceSuperInstr.getDefiningModule:()Lorg/jruby/ir/operands/Operand;
aload 1
aload 4
aload 2
aload 3
aload 5
invokevirtual org.jruby.ir.operands.Operand.retrieve:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/DynamicScope;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jruby.RubyModule
astore 8
start local 8 3: aload 1
aload 4
aload 0
invokevirtual org.jruby.ir.instructions.InstanceSuperInstr.getId:()Ljava/lang/String;
aload 8
aload 6
aload 7
invokestatic org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuper:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/RubyModule;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
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 4 0 this Lorg/jruby/ir/instructions/InstanceSuperInstr;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
0 4 2 currScope Lorg/jruby/parser/StaticScope;
0 4 3 currDynScope Lorg/jruby/runtime/DynamicScope;
0 4 4 self Lorg/jruby/runtime/builtin/IRubyObject;
0 4 5 temp [Ljava/lang/Object;
1 4 6 args [Lorg/jruby/runtime/builtin/IRubyObject;
2 4 7 block Lorg/jruby/runtime/Block;
3 4 8 definingModule Lorg/jruby/RubyModule;
MethodParameters:
Name Flags
context
currScope
currDynScope
self
temp
public void visit(org.jruby.ir.IRVisitor);
descriptor: (Lorg/jruby/ir/IRVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.jruby.ir.IRVisitor.InstanceSuperInstr:(Lorg/jruby/ir/instructions/InstanceSuperInstr;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/InstanceSuperInstr;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
}
SourceFile: "InstanceSuperInstr.java"