public class org.jruby.ir.dataflow.analyses.DefinedVariablesProblem extends org.jruby.ir.dataflow.DataFlowProblem<org.jruby.ir.dataflow.analyses.DefinedVariablesProblem, org.jruby.ir.dataflow.analyses.DefinedVariableNode>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.dataflow.analyses.DefinedVariablesProblem
super_class: org.jruby.ir.dataflow.DataFlowProblem
{
public static final java.lang.String NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Defined Variables Analysis"
private java.util.HashMap<org.jruby.ir.operands.Variable, java.lang.Integer> dfVarMap;
descriptor: Ljava/util/HashMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashMap<Lorg/jruby/ir/operands/Variable;Ljava/lang/Integer;>;
private java.util.HashMap<java.lang.Integer, org.jruby.ir.operands.Variable> varDfVarMap;
descriptor: Ljava/util/HashMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashMap<Ljava/lang/Integer;Lorg/jruby/ir/operands/Variable;>;
private java.util.HashSet<org.jruby.ir.operands.Variable> vars;
descriptor: Ljava/util/HashSet;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashSet<Lorg/jruby/ir/operands/Variable;>;
public void <init>(org.jruby.ir.IRScope);
descriptor: (Lorg/jruby/ir/IRScope;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic org.jruby.ir.dataflow.DataFlowProblem$DF_Direction.FORWARD:Lorg/jruby/ir/dataflow/DataFlowProblem$DF_Direction;
invokespecial org.jruby.ir.dataflow.DataFlowProblem.<init>:(Lorg/jruby/ir/dataflow/DataFlowProblem$DF_Direction;)V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.dfVarMap:Ljava/util/HashMap;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.varDfVarMap:Ljava/util/HashMap;
3: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.vars:Ljava/util/HashSet;
4: aload 0
aload 1
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.setup:(Lorg/jruby/ir/IRScope;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariablesProblem;
0 6 1 scope Lorg/jruby/ir/IRScope;
MethodParameters:
Name Flags
scope
public java.lang.Integer getDFVar(org.jruby.ir.operands.Variable);
descriptor: (Lorg/jruby/ir/operands/Variable;)Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.dfVarMap:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariablesProblem;
0 1 1 v Lorg/jruby/ir/operands/Variable;
MethodParameters:
Name Flags
v
public boolean dfVarExists(org.jruby.ir.operands.Variable);
descriptor: (Lorg/jruby/ir/operands/Variable;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.getDFVar:(Lorg/jruby/ir/operands/Variable;)Ljava/lang/Integer;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariablesProblem;
0 2 1 v Lorg/jruby/ir/operands/Variable;
MethodParameters:
Name Flags
v
public org.jruby.ir.operands.Variable getVariable(int);
descriptor: (I)Lorg/jruby/ir/operands/Variable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.varDfVarMap:Ljava/util/HashMap;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jruby.ir.operands.Variable
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariablesProblem;
0 1 1 id I
MethodParameters:
Name Flags
id
public org.jruby.ir.dataflow.analyses.DefinedVariableNode buildFlowGraphNode(org.jruby.ir.representations.BasicBlock);
descriptor: (Lorg/jruby/ir/representations/BasicBlock;)Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.ir.dataflow.analyses.DefinedVariableNode
dup
aload 0
aload 1
invokespecial org.jruby.ir.dataflow.analyses.DefinedVariableNode.<init>:(Lorg/jruby/ir/dataflow/analyses/DefinedVariablesProblem;Lorg/jruby/ir/representations/BasicBlock;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariablesProblem;
0 1 1 bb Lorg/jruby/ir/representations/BasicBlock;
MethodParameters:
Name Flags
bb
public void addDFVar(org.jruby.ir.operands.Variable);
descriptor: (Lorg/jruby/ir/operands/Variable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.addDataFlowVar:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 2
start local 2 1: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.dfVarMap:Ljava/util/HashMap;
aload 1
aload 2
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.varDfVarMap:Ljava/util/HashMap;
aload 2
aload 1
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.vars:Ljava/util/HashSet;
aload 1
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariablesProblem;
0 5 1 v Lorg/jruby/ir/operands/Variable;
1 5 2 dfv Ljava/lang/Integer;
MethodParameters:
Name Flags
v
public java.util.Set<org.jruby.ir.operands.Variable> findUndefinedVars();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.flowGraphNodes:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.jruby.ir.dataflow.analyses.DefinedVariablesProblem java.util.Set top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.dataflow.analyses.DefinedVariableNode
astore 2
start local 2 3: aload 2
aload 1
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariableNode.identifyInits:(Ljava/util/Set;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariablesProblem;
1 6 1 undefinedVars Ljava/util/Set<Lorg/jruby/ir/operands/Variable;>;
3 4 2 n Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;
Signature: ()Ljava/util/Set<Lorg/jruby/ir/operands/Variable;>;
public java.util.Set<org.jruby.ir.operands.Variable> getAllVars();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.dfVarMap:Ljava/util/HashMap;
invokevirtual java.util.HashMap.keySet:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariablesProblem;
Signature: ()Ljava/util/Set<Lorg/jruby/ir/operands/Variable;>;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "Defined Variables Analysis"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariablesProblem;
public org.jruby.ir.dataflow.FlowGraphNode buildFlowGraphNode(org.jruby.ir.representations.BasicBlock);
descriptor: (Lorg/jruby/ir/representations/BasicBlock;)Lorg/jruby/ir/dataflow/FlowGraphNode;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.buildFlowGraphNode:(Lorg/jruby/ir/representations/BasicBlock;)Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/jruby/ir/dataflow/DataFlowProblem<Lorg/jruby/ir/dataflow/analyses/DefinedVariablesProblem;Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;>;
SourceFile: "DefinedVariablesProblem.java"
InnerClasses:
public final DF_Direction = org.jruby.ir.dataflow.DataFlowProblem$DF_Direction of org.jruby.ir.dataflow.DataFlowProblem