public class org.jruby.ir.operands.TemporaryLocalVariable extends org.jruby.ir.operands.TemporaryVariable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.operands.TemporaryLocalVariable
super_class: org.jruby.ir.operands.TemporaryVariable
{
public static final java.lang.String PREFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "%v_"
public final int offset;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$org$jruby$ir$operands$TemporaryVariableType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.jruby.ir.operands.TemporaryVariable.<init>:()V
1: aload 0
iload 1
putfield org.jruby.ir.operands.TemporaryLocalVariable.offset:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/operands/TemporaryLocalVariable;
0 3 1 offset I
MethodParameters:
Name Flags
offset
public java.lang.String getId();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual org.jruby.ir.operands.TemporaryLocalVariable.getPrefix:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.ir.operands.TemporaryLocalVariable.offset:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/TemporaryLocalVariable;
public int getOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.operands.TemporaryLocalVariable.offset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/TemporaryLocalVariable;
public org.jruby.ir.operands.TemporaryVariableType getType();
descriptor: ()Lorg/jruby/ir/operands/TemporaryVariableType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.jruby.ir.operands.TemporaryVariableType.LOCAL:Lorg/jruby/ir/operands/TemporaryVariableType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/TemporaryLocalVariable;
public java.lang.String getPrefix();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "%v_"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/TemporaryLocalVariable;
public org.jruby.ir.operands.Variable clone(org.jruby.ir.transformations.inlining.SimpleCloneInfo);
descriptor: (Lorg/jruby/ir/transformations/inlining/SimpleCloneInfo;)Lorg/jruby/ir/operands/Variable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/TemporaryLocalVariable;
0 1 1 ii Lorg/jruby/ir/transformations/inlining/SimpleCloneInfo;
MethodParameters:
Name Flags
ii
public java.lang.Object retrieve(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.parser.StaticScope, org.jruby.runtime.DynamicScope, java.lang.Object[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/DynamicScope;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 5
aload 0
getfield org.jruby.ir.operands.TemporaryLocalVariable.offset:I
aaload
astore 6
start local 6 1: aload 6
ifnonnull 2
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: aload 6
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
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/operands/TemporaryLocalVariable;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
0 4 2 self Lorg/jruby/runtime/builtin/IRubyObject;
0 4 3 currScope Lorg/jruby/parser/StaticScope;
0 4 4 currDynScope Lorg/jruby/runtime/DynamicScope;
0 4 5 temp [Ljava/lang/Object;
1 4 6 o Ljava/lang/Object;
MethodParameters:
Name Flags
context
self
currScope
currDynScope
temp
public void encode(org.jruby.ir.persistence.IRWriterEncoder);
descriptor: (Lorg/jruby/ir/persistence/IRWriterEncoder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.jruby.ir.operands.TemporaryVariable.encode:(Lorg/jruby/ir/persistence/IRWriterEncoder;)V
1: aload 1
aload 0
invokevirtual org.jruby.ir.operands.TemporaryLocalVariable.getType:()Lorg/jruby/ir/operands/TemporaryVariableType;
invokevirtual org.jruby.ir.operands.TemporaryVariableType.ordinal:()I
i2b
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(B)V
2: aload 1
aload 0
getfield org.jruby.ir.operands.TemporaryLocalVariable.offset:I
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ir/operands/TemporaryLocalVariable;
0 4 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.operands.TemporaryLocalVariable decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/operands/TemporaryLocalVariable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeTemporaryVariableType:()Lorg/jruby/ir/operands/TemporaryVariableType;
astore 1
start local 1 1: invokestatic org.jruby.ir.operands.TemporaryLocalVariable.$SWITCH_TABLE$org$jruby$ir$operands$TemporaryVariableType:()[I
aload 1
invokevirtual org.jruby.ir.operands.TemporaryVariableType.ordinal:()I
iaload
tableswitch { // 1 - 7
1: 8
2: 7
3: 5
4: 6
5: 2
6: 3
7: 4
default: 9
}
2: StackMap locals: org.jruby.ir.operands.TemporaryVariableType
StackMap stack:
aload 0
invokestatic org.jruby.ir.operands.TemporaryClosureVariable.decode:(Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/operands/TemporaryClosureVariable;
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokestatic org.jruby.ir.operands.TemporaryCurrentModuleVariable.decode:(Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/operands/TemporaryCurrentModuleVariable;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokestatic org.jruby.ir.operands.TemporaryCurrentScopeVariable.decode:(Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/operands/TemporaryCurrentScopeVariable;
areturn
5: StackMap locals:
StackMap stack:
aload 0
invokestatic org.jruby.ir.operands.TemporaryFloatVariable.decode:(Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/operands/TemporaryFloatVariable;
areturn
6: StackMap locals:
StackMap stack:
aload 0
invokestatic org.jruby.ir.operands.TemporaryFixnumVariable.decode:(Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/operands/TemporaryFixnumVariable;
areturn
7: StackMap locals:
StackMap stack:
aload 0
invokestatic org.jruby.ir.operands.TemporaryBooleanVariable.decode:(Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/operands/TemporaryLocalVariable;
areturn
8: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.getCurrentScope:()Lorg/jruby/ir/IRScope;
invokevirtual org.jruby.ir.IRScope.getManager:()Lorg/jruby/ir/IRManager;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeInt:()I
invokevirtual org.jruby.ir.IRManager.newTemporaryLocalVariable:(I)Lorg/jruby/ir/operands/TemporaryLocalVariable;
areturn
9: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 d Lorg/jruby/ir/persistence/IRReaderDecoder;
1 10 1 type Lorg/jruby/ir/operands/TemporaryVariableType;
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.TemporaryLocalVariable:(Lorg/jruby/ir/operands/TemporaryLocalVariable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/operands/TemporaryLocalVariable;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
static int[] $SWITCH_TABLE$org$jruby$ir$operands$TemporaryVariableType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.jruby.ir.operands.TemporaryLocalVariable.$SWITCH_TABLE$org$jruby$ir$operands$TemporaryVariableType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.jruby.ir.operands.TemporaryVariableType.values:()[Lorg/jruby/ir/operands/TemporaryVariableType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.jruby.ir.operands.TemporaryVariableType.BOOLEAN:Lorg/jruby/ir/operands/TemporaryVariableType;
invokevirtual org.jruby.ir.operands.TemporaryVariableType.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.jruby.ir.operands.TemporaryVariableType.CLOSURE:Lorg/jruby/ir/operands/TemporaryVariableType;
invokevirtual org.jruby.ir.operands.TemporaryVariableType.ordinal:()I
iconst_5
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.jruby.ir.operands.TemporaryVariableType.CURRENT_MODULE:Lorg/jruby/ir/operands/TemporaryVariableType;
invokevirtual org.jruby.ir.operands.TemporaryVariableType.ordinal:()I
bipush 6
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.jruby.ir.operands.TemporaryVariableType.CURRENT_SCOPE:Lorg/jruby/ir/operands/TemporaryVariableType;
invokevirtual org.jruby.ir.operands.TemporaryVariableType.ordinal:()I
bipush 7
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic org.jruby.ir.operands.TemporaryVariableType.FIXNUM:Lorg/jruby/ir/operands/TemporaryVariableType;
invokevirtual org.jruby.ir.operands.TemporaryVariableType.ordinal:()I
iconst_4
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic org.jruby.ir.operands.TemporaryVariableType.FLOAT:Lorg/jruby/ir/operands/TemporaryVariableType;
invokevirtual org.jruby.ir.operands.TemporaryVariableType.ordinal:()I
iconst_3
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic org.jruby.ir.operands.TemporaryVariableType.LOCAL:Lorg/jruby/ir/operands/TemporaryVariableType;
invokevirtual org.jruby.ir.operands.TemporaryVariableType.ordinal:()I
iconst_1
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
dup
putstatic org.jruby.ir.operands.TemporaryLocalVariable.$SWITCH_TABLE$org$jruby$ir$operands$TemporaryVariableType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
}
SourceFile: "TemporaryLocalVariable.java"