public class org.jruby.ir.passes.AddLocalVarLoadStoreInstructions 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.AddLocalVarLoadStoreInstructions
super_class: org.jruby.ir.passes.CompilerPass
{
public static java.util.List<java.lang.Class<? extends org.jruby.ir.passes.CompilerPass>> DEPENDENCIES;
descriptor: Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Signature: Ljava/util/List<Ljava/lang/Class<+Lorg/jruby/ir/passes/CompilerPass;>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/jruby/ir/passes/LiveVariableAnalysis;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
putstatic org.jruby.ir.passes.AddLocalVarLoadStoreInstructions.DEPENDENCIES:Ljava/util/List;
return
LocalVariableTable:
Start End Slot Name Signature
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/AddLocalVarLoadStoreInstructions;
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 "Add Local Variable Load/Store Instructions"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/passes/AddLocalVarLoadStoreInstructions;
public java.lang.String getShortLabel();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "Add LVar L/S"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/passes/AddLocalVarLoadStoreInstructions;
public java.util.List<java.lang.Class<? extends org.jruby.ir.passes.CompilerPass>> getDependencies();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.jruby.ir.passes.AddLocalVarLoadStoreInstructions.DEPENDENCIES:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/passes/AddLocalVarLoadStoreInstructions;
Signature: ()Ljava/util/List<Ljava/lang/Class<+Lorg/jruby/ir/passes/CompilerPass;>;>;
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=11, args_size=3
start local 0 start local 1 start local 2 0: new org.jruby.ir.dataflow.analyses.StoreLocalVarPlacementProblem
dup
invokespecial org.jruby.ir.dataflow.analyses.StoreLocalVarPlacementProblem.<init>:()V
astore 3
start local 3 1: aload 1
invokevirtual org.jruby.ir.IRScope.getExecutionContext:()Lorg/jruby/ir/interpreter/FullInterpreterContext;
invokevirtual org.jruby.ir.interpreter.FullInterpreterContext.getFlags:()Ljava/util/EnumSet;
astore 4
start local 4 2: aload 4
getstatic org.jruby.ir.IRFlags.DYNSCOPE_ELIMINATED:Lorg/jruby/ir/IRFlags;
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ifeq 3
aload 4
getstatic org.jruby.ir.IRFlags.REUSE_PARENT_DYNSCOPE:Lorg/jruby/ir/IRFlags;
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ifeq 19
3: StackMap locals: org.jruby.ir.dataflow.analyses.StoreLocalVarPlacementProblem java.util.EnumSet
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 5
start local 5 4: aload 3
aload 1
invokevirtual org.jruby.ir.dataflow.analyses.StoreLocalVarPlacementProblem.setup:(Lorg/jruby/ir/IRScope;)V
5: aload 3
invokevirtual org.jruby.ir.dataflow.analyses.StoreLocalVarPlacementProblem.compute_MOP_Solution:()V
6: aload 3
aload 5
invokevirtual org.jruby.ir.dataflow.analyses.StoreLocalVarPlacementProblem.addStores:(Ljava/util/Map;)V
7: new org.jruby.ir.dataflow.analyses.LoadLocalVarPlacementProblem
dup
invokespecial org.jruby.ir.dataflow.analyses.LoadLocalVarPlacementProblem.<init>:()V
astore 6
start local 6 8: aload 6
aload 1
invokevirtual org.jruby.ir.dataflow.analyses.LoadLocalVarPlacementProblem.setup:(Lorg/jruby/ir/IRScope;)V
9: aload 6
invokevirtual org.jruby.ir.dataflow.analyses.LoadLocalVarPlacementProblem.compute_MOP_Solution:()V
10: aload 6
aload 5
invokevirtual org.jruby.ir.dataflow.analyses.LoadLocalVarPlacementProblem.addLoads:(Ljava/util/Map;)V
11: aload 1
invokevirtual org.jruby.ir.IRScope.getCFG:()Lorg/jruby/ir/representations/CFG;
invokevirtual org.jruby.ir.representations.CFG.getBasicBlocks:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 8
goto 17
StackMap locals: org.jruby.ir.passes.AddLocalVarLoadStoreInstructions org.jruby.ir.IRScope java.lang.Object[] org.jruby.ir.dataflow.analyses.StoreLocalVarPlacementProblem java.util.EnumSet java.util.Map org.jruby.ir.dataflow.analyses.LoadLocalVarPlacementProblem top java.util.Iterator
StackMap stack:
12: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.representations.BasicBlock
astore 7
start local 7 13: aload 7
invokevirtual org.jruby.ir.representations.BasicBlock.getInstrs:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 16
StackMap locals: org.jruby.ir.passes.AddLocalVarLoadStoreInstructions org.jruby.ir.IRScope java.lang.Object[] org.jruby.ir.dataflow.analyses.StoreLocalVarPlacementProblem java.util.EnumSet java.util.Map org.jruby.ir.dataflow.analyses.LoadLocalVarPlacementProblem org.jruby.ir.representations.BasicBlock java.util.Iterator top java.util.Iterator
StackMap stack:
14: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.instructions.Instr
astore 9
start local 9 15: aload 9
aload 5
invokevirtual org.jruby.ir.instructions.Instr.renameVars:(Ljava/util/Map;)V
end local 9 StackMap locals:
StackMap stack:
16: aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
end local 7 17: StackMap locals: org.jruby.ir.passes.AddLocalVarLoadStoreInstructions org.jruby.ir.IRScope java.lang.Object[] org.jruby.ir.dataflow.analyses.StoreLocalVarPlacementProblem java.util.EnumSet java.util.Map org.jruby.ir.dataflow.analyses.LoadLocalVarPlacementProblem top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
18: new org.jruby.ir.passes.LiveVariableAnalysis
dup
invokespecial org.jruby.ir.passes.LiveVariableAnalysis.<init>:()V
aload 1
invokevirtual org.jruby.ir.passes.LiveVariableAnalysis.invalidate:(Lorg/jruby/ir/IRScope;)Z
pop
end local 6 end local 5 19: StackMap locals: org.jruby.ir.passes.AddLocalVarLoadStoreInstructions org.jruby.ir.IRScope java.lang.Object[] org.jruby.ir.dataflow.analyses.StoreLocalVarPlacementProblem java.util.EnumSet
StackMap stack:
aload 1
aload 3
invokevirtual org.jruby.ir.IRScope.putStoreLocalVarPlacementProblem:(Lorg/jruby/ir/dataflow/analyses/StoreLocalVarPlacementProblem;)V
20: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/jruby/ir/passes/AddLocalVarLoadStoreInstructions;
0 21 1 s Lorg/jruby/ir/IRScope;
0 21 2 data [Ljava/lang/Object;
1 21 3 slvp Lorg/jruby/ir/dataflow/analyses/StoreLocalVarPlacementProblem;
2 21 4 flags Ljava/util/EnumSet<Lorg/jruby/ir/IRFlags;>;
4 19 5 varRenameMap Ljava/util/Map<Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;>;
8 19 6 llvp Lorg/jruby/ir/dataflow/analyses/LoadLocalVarPlacementProblem;
13 17 7 b Lorg/jruby/ir/representations/BasicBlock;
15 16 9 i Lorg/jruby/ir/instructions/Instr;
MethodParameters:
Name Flags
s
data
public java.lang.Object previouslyRun(org.jruby.ir.IRScope);
descriptor: (Lorg/jruby/ir/IRScope;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.jruby.ir.IRScope.getStoreLocalVarPlacementProblem:()Lorg/jruby/ir/dataflow/analyses/StoreLocalVarPlacementProblem;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/passes/AddLocalVarLoadStoreInstructions;
0 1 1 scope Lorg/jruby/ir/IRScope;
MethodParameters:
Name Flags
scope
public boolean invalidate(org.jruby.ir.IRScope);
descriptor: (Lorg/jruby/ir/IRScope;)Z
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.passes.CompilerPass.invalidate:(Lorg/jruby/ir/IRScope;)Z
pop
1: aload 1
aconst_null
invokevirtual org.jruby.ir.IRScope.putStoreLocalVarPlacementProblem:(Lorg/jruby/ir/dataflow/analyses/StoreLocalVarPlacementProblem;)V
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/passes/AddLocalVarLoadStoreInstructions;
0 3 1 scope Lorg/jruby/ir/IRScope;
MethodParameters:
Name Flags
scope
}
SourceFile: "AddLocalVarLoadStoreInstructions.java"