public class org.jruby.ir.passes.EnsureTempsAssigned extends org.jruby.ir.passes.CompilerPass
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.passes.EnsureTempsAssigned
super_class: org.jruby.ir.passes.CompilerPass
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.jruby.ir.passes.CompilerPass.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/passes/EnsureTempsAssigned;
public java.lang.String getLabel();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "Ensure Temporary Variables Assigned"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/passes/EnsureTempsAssigned;
public java.lang.Object execute(org.jruby.ir.IRScope, java.lang.Object[]);
descriptor: (Lorg/jruby/ir/IRScope;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.jruby.ir.IRScope.getCFG:()Lorg/jruby/ir/representations/CFG;
invokevirtual org.jruby.ir.passes.EnsureTempsAssigned.processCFG:(Lorg/jruby/ir/representations/CFG;)V
1: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/passes/EnsureTempsAssigned;
0 2 1 scope Lorg/jruby/ir/IRScope;
0 2 2 data [Ljava/lang/Object;
MethodParameters:
Name Flags
scope
data
private void processCFG(org.jruby.ir.representations.CFG);
descriptor: (Lorg/jruby/ir/representations/CFG;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=9, args_size=2
start local 0 start local 1 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 1: aload 1
invokevirtual org.jruby.ir.representations.CFG.getBasicBlocks:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 11
StackMap locals: org.jruby.ir.passes.EnsureTempsAssigned org.jruby.ir.representations.CFG java.util.Set top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.representations.BasicBlock
astore 3
start local 3 3: aload 3
invokevirtual org.jruby.ir.representations.BasicBlock.getInstrs:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 10
StackMap locals: org.jruby.ir.passes.EnsureTempsAssigned org.jruby.ir.representations.CFG java.util.Set org.jruby.ir.representations.BasicBlock java.util.Iterator top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.instructions.Instr
astore 5
start local 5 5: aload 5
invokevirtual org.jruby.ir.instructions.Instr.getUsedVariables:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 9
StackMap locals: org.jruby.ir.passes.EnsureTempsAssigned org.jruby.ir.representations.CFG java.util.Set org.jruby.ir.representations.BasicBlock java.util.Iterator org.jruby.ir.instructions.Instr java.util.Iterator top java.util.Iterator
StackMap stack:
6: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.operands.Variable
astore 7
start local 7 7: aload 7
instanceof org.jruby.ir.operands.TemporaryVariable
ifeq 9
8: aload 2
aload 7
checkcast org.jruby.ir.operands.TemporaryVariable
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 7 9: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 5 10: StackMap locals: org.jruby.ir.passes.EnsureTempsAssigned org.jruby.ir.representations.CFG java.util.Set org.jruby.ir.representations.BasicBlock java.util.Iterator top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 3 11: StackMap locals: org.jruby.ir.passes.EnsureTempsAssigned org.jruby.ir.representations.CFG java.util.Set top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
12: aload 1
invokevirtual org.jruby.ir.representations.CFG.getEntryBB:()Lorg/jruby/ir/representations/BasicBlock;
astore 3
start local 3 13: iconst_0
istore 4
start local 4 14: aconst_null
astore 5
start local 5 15: aload 2
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 22
StackMap locals: org.jruby.ir.passes.EnsureTempsAssigned org.jruby.ir.representations.CFG java.util.Set org.jruby.ir.representations.BasicBlock int org.jruby.ir.operands.TemporaryVariable top java.util.Iterator
StackMap stack:
16: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.operands.TemporaryVariable
astore 6
start local 6 17: aload 5
ifnonnull 21
18: aload 3
invokevirtual org.jruby.ir.representations.BasicBlock.getInstrs:()Ljava/util/List;
iload 4
iinc 4 1
new org.jruby.ir.instructions.CopyInstr
dup
aload 6
new org.jruby.ir.operands.Nil
dup
invokespecial org.jruby.ir.operands.Nil.<init>:()V
invokespecial org.jruby.ir.instructions.CopyInstr.<init>:(Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;)V
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
19: aload 6
astore 5
20: goto 22
21: StackMap locals: org.jruby.ir.passes.EnsureTempsAssigned org.jruby.ir.representations.CFG java.util.Set org.jruby.ir.representations.BasicBlock int org.jruby.ir.operands.TemporaryVariable org.jruby.ir.operands.TemporaryVariable java.util.Iterator
StackMap stack:
aload 3
invokevirtual org.jruby.ir.representations.BasicBlock.getInstrs:()Ljava/util/List;
iload 4
iinc 4 1
new org.jruby.ir.instructions.CopyInstr
dup
aload 6
aload 5
invokespecial org.jruby.ir.instructions.CopyInstr.<init>:(Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;)V
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
end local 6 22: StackMap locals: org.jruby.ir.passes.EnsureTempsAssigned org.jruby.ir.representations.CFG java.util.Set org.jruby.ir.representations.BasicBlock int org.jruby.ir.operands.TemporaryVariable top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
23: 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 24 0 this Lorg/jruby/ir/passes/EnsureTempsAssigned;
0 24 1 cfg Lorg/jruby/ir/representations/CFG;
1 24 2 names Ljava/util/Set<Lorg/jruby/ir/operands/TemporaryVariable;>;
3 11 3 b Lorg/jruby/ir/representations/BasicBlock;
5 10 5 i Lorg/jruby/ir/instructions/Instr;
7 9 7 v Lorg/jruby/ir/operands/Variable;
13 24 3 bb Lorg/jruby/ir/representations/BasicBlock;
14 24 4 index I
15 24 5 first Lorg/jruby/ir/operands/TemporaryVariable;
17 22 6 name Lorg/jruby/ir/operands/TemporaryVariable;
MethodParameters:
Name Flags
cfg
}
SourceFile: "EnsureTempsAssigned.java"