public class org.jruby.ir.passes.AddMissingInitsPass 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.AddMissingInitsPass
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/AddMissingInitsPass;
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 Missing Initialization"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/passes/AddMissingInitsPass;
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 Missing Init."
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/passes/AddMissingInitsPass;
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=7, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.jruby.ir.IRScope.computeScopeFlags:()V
1: new org.jruby.ir.dataflow.analyses.DefinedVariablesProblem
dup
aload 1
invokespecial org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.<init>:(Lorg/jruby/ir/IRScope;)V
astore 3
start local 3 2: aload 3
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.compute_MOP_Solution:()V
3: aload 3
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.findUndefinedVars:()Ljava/util/Set;
astore 4
start local 4 4: aload 1
invokevirtual org.jruby.ir.IRScope.getCFG:()Lorg/jruby/ir/representations/CFG;
invokevirtual org.jruby.ir.representations.CFG.getEntryBB:()Lorg/jruby/ir/representations/BasicBlock;
astore 5
start local 5 5: aload 4
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 11
StackMap locals: org.jruby.ir.passes.AddMissingInitsPass org.jruby.ir.IRScope java.lang.Object[] org.jruby.ir.dataflow.analyses.DefinedVariablesProblem java.util.Set org.jruby.ir.representations.BasicBlock top java.util.Iterator
StackMap stack:
6: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.operands.Variable
astore 6
start local 6 7: aload 6
instanceof org.jruby.ir.operands.LocalVariable
ifeq 10
8: aload 5
invokevirtual org.jruby.ir.representations.BasicBlock.getInstrs:()Ljava/util/List;
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:(Ljava/lang/Object;)Z
pop
9: goto 11
10: StackMap locals: org.jruby.ir.passes.AddMissingInitsPass org.jruby.ir.IRScope java.lang.Object[] org.jruby.ir.dataflow.analyses.DefinedVariablesProblem java.util.Set org.jruby.ir.representations.BasicBlock org.jruby.ir.operands.Variable java.util.Iterator
StackMap stack:
aload 5
invokevirtual org.jruby.ir.representations.BasicBlock.getInstrs:()Ljava/util/List;
iconst_0
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
end local 6 11: StackMap locals: org.jruby.ir.passes.AddMissingInitsPass org.jruby.ir.IRScope java.lang.Object[] org.jruby.ir.dataflow.analyses.DefinedVariablesProblem java.util.Set org.jruby.ir.representations.BasicBlock top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
12: aconst_null
areturn
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 13 0 this Lorg/jruby/ir/passes/AddMissingInitsPass;
0 13 1 scope Lorg/jruby/ir/IRScope;
0 13 2 data [Ljava/lang/Object;
2 13 3 p Lorg/jruby/ir/dataflow/analyses/DefinedVariablesProblem;
4 13 4 undefinedVars Ljava/util/Set<Lorg/jruby/ir/operands/Variable;>;
5 13 5 bb Lorg/jruby/ir/representations/BasicBlock;
7 11 6 v Lorg/jruby/ir/operands/Variable;
MethodParameters:
Name Flags
scope
data
}
SourceFile: "AddMissingInitsPass.java"