public class org.jruby.ir.instructions.PutConstInstr extends org.jruby.ir.instructions.PutInstr implements org.jruby.ir.instructions.FixedArityInstr
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.instructions.PutConstInstr
super_class: org.jruby.ir.instructions.PutInstr
{
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/jruby/ir/instructions/PutConstInstr;
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.jruby.ir.instructions.PutConstInstr.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.jruby.ir.operands.Operand, org.jruby.RubySymbol, org.jruby.ir.operands.Operand);
descriptor: (Lorg/jruby/ir/operands/Operand;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getstatic org.jruby.ir.Operation.PUT_CONST:Lorg/jruby/ir/Operation;
aload 1
aload 2
aload 3
invokespecial org.jruby.ir.instructions.PutInstr.<init>:(Lorg/jruby/ir/Operation;Lorg/jruby/ir/operands/Operand;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;)V
1: return
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/PutConstInstr;
0 2 1 scopeOrObj Lorg/jruby/ir/operands/Operand;
0 2 2 constantName Lorg/jruby/RubySymbol;
0 2 3 val Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
scopeOrObj
constantName
val
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=6, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.ir.instructions.PutConstInstr
dup
aload 0
invokevirtual org.jruby.ir.instructions.PutConstInstr.getTarget:()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.PutConstInstr.getName:()Lorg/jruby/RubySymbol;
aload 0
invokevirtual org.jruby.ir.instructions.PutConstInstr.getValue:()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;
invokespecial org.jruby.ir.instructions.PutConstInstr.<init>:(Lorg/jruby/ir/operands/Operand;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/PutConstInstr;
0 1 1 ii Lorg/jruby/ir/transformations/inlining/CloneInfo;
MethodParameters:
Name Flags
ii
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
invokevirtual org.jruby.ir.instructions.PutConstInstr.getValue:()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.runtime.builtin.IRubyObject
astore 6
start local 6 1: aload 0
invokevirtual org.jruby.ir.instructions.PutConstInstr.getTarget:()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 7
start local 7 2: getstatic org.jruby.ir.instructions.PutConstInstr.$assertionsDisabled:Z
ifne 3
aload 7
ifnonnull 3
new java.lang.AssertionError
dup
ldc "MODULE should always be something"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.RubyModule
StackMap stack:
aload 0
invokevirtual org.jruby.ir.instructions.PutConstInstr.getId:()Ljava/lang/String;
astore 8
start local 8 4: aload 1
aload 4
aload 7
aload 8
aload 6
invokestatic org.jruby.ir.runtime.IRRuntimeHelpers.putConst:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
5: aconst_null
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 6 0 this Lorg/jruby/ir/instructions/PutConstInstr;
0 6 1 context Lorg/jruby/runtime/ThreadContext;
0 6 2 currScope Lorg/jruby/parser/StaticScope;
0 6 3 currDynScope Lorg/jruby/runtime/DynamicScope;
0 6 4 self Lorg/jruby/runtime/builtin/IRubyObject;
0 6 5 temp [Ljava/lang/Object;
1 6 6 value Lorg/jruby/runtime/builtin/IRubyObject;
2 6 7 module Lorg/jruby/RubyModule;
4 6 8 id Ljava/lang/String;
MethodParameters:
Name Flags
context
currScope
currDynScope
self
temp
public static org.jruby.ir.instructions.PutConstInstr decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/instructions/PutConstInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.jruby.ir.instructions.PutConstInstr
dup
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeOperand:()Lorg/jruby/ir/operands/Operand;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeSymbol:()Lorg/jruby/RubySymbol;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeOperand:()Lorg/jruby/ir/operands/Operand;
invokespecial org.jruby.ir.instructions.PutConstInstr.<init>:(Lorg/jruby/ir/operands/Operand;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 d Lorg/jruby/ir/persistence/IRReaderDecoder;
MethodParameters:
Name Flags
d
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.PutConstInstr:(Lorg/jruby/ir/instructions/PutConstInstr;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/PutConstInstr;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
}
SourceFile: "PutConstInstr.java"