public class org.jruby.ir.dataflow.analyses.DefinedVariableNode extends org.jruby.ir.dataflow.FlowGraphNode<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.DefinedVariableNode
super_class: org.jruby.ir.dataflow.FlowGraphNode
{
private java.util.BitSet in;
descriptor: Ljava/util/BitSet;
flags: (0x0002) ACC_PRIVATE
private java.util.BitSet out;
descriptor: Ljava/util/BitSet;
flags: (0x0002) ACC_PRIVATE
private java.util.BitSet tmp;
descriptor: Ljava/util/BitSet;
flags: (0x0002) ACC_PRIVATE
private int setSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(org.jruby.ir.dataflow.analyses.DefinedVariablesProblem, org.jruby.ir.representations.BasicBlock);
descriptor: (Lorg/jruby/ir/dataflow/analyses/DefinedVariablesProblem;Lorg/jruby/ir/representations/BasicBlock;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.jruby.ir.dataflow.FlowGraphNode.<init>:(Lorg/jruby/ir/dataflow/DataFlowProblem;Lorg/jruby/ir/representations/BasicBlock;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;
0 2 1 prob Lorg/jruby/ir/dataflow/analyses/DefinedVariablesProblem;
0 2 2 n Lorg/jruby/ir/representations/BasicBlock;
MethodParameters:
Name Flags
prob
n
public void init();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.out:Ljava/util/BitSet;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;
private void addDFVar(org.jruby.ir.operands.Variable);
descriptor: (Lorg/jruby/ir/operands/Variable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.DefinedVariablesProblem
aload 1
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.dfVarExists:(Lorg/jruby/ir/operands/Variable;)Z
ifne 1
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.DefinedVariablesProblem
aload 1
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.addDFVar:(Lorg/jruby/ir/operands/Variable;)V
1: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;
0 2 1 v Lorg/jruby/ir/operands/Variable;
MethodParameters:
Name Flags
v
public void buildDataFlowVars(org.jruby.ir.instructions.Instr);
descriptor: (Lorg/jruby/ir/instructions/Instr;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.ir.instructions.ResultInstr
ifeq 1
aload 0
aload 1
checkcast org.jruby.ir.instructions.ResultInstr
invokeinterface org.jruby.ir.instructions.ResultInstr.getResult:()Lorg/jruby/ir/operands/Variable;
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariableNode.addDFVar:(Lorg/jruby/ir/operands/Variable;)V
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.jruby.ir.instructions.Instr.getUsedVariables:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.jruby.ir.dataflow.analyses.DefinedVariableNode org.jruby.ir.instructions.Instr top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.operands.Variable
astore 2
start local 2 3: aload 0
aload 2
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariableNode.addDFVar:(Lorg/jruby/ir/operands/Variable;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;
0 6 1 i Lorg/jruby/ir/instructions/Instr;
3 4 2 x Lorg/jruby/ir/operands/Variable;
MethodParameters:
Name Flags
i
public void applyPreMeetHandler();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.DefinedVariablesProblem
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.getDFVarsCount:()I
putfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.setSize:I
1: aload 0
aconst_null
putfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.in:Ljava/util/BitSet;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;
public void compute_MEET(org.jruby.dirgra.Edge, org.jruby.ir.dataflow.analyses.DefinedVariableNode);
descriptor: (Lorg/jruby/dirgra/Edge;Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.basicBlock:Lorg/jruby/ir/representations/BasicBlock;
invokevirtual org.jruby.ir.representations.BasicBlock.isRescueEntry:()Z
ifeq 1
aload 2
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.in:Ljava/util/BitSet;
goto 2
StackMap locals:
StackMap stack:
1: aload 2
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.out:Ljava/util/BitSet;
StackMap locals:
StackMap stack: java.util.BitSet
2: astore 3
start local 3 3: aload 3
ifnull 9
4: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.in:Ljava/util/BitSet;
ifnonnull 8
5: aload 3
invokevirtual java.util.BitSet.size:()I
istore 4
start local 4 6: aload 0
new java.util.BitSet
dup
iload 4
invokespecial java.util.BitSet.<init>:(I)V
putfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.in:Ljava/util/BitSet;
7: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.in:Ljava/util/BitSet;
iconst_0
iload 4
invokevirtual java.util.BitSet.set:(II)V
end local 4 8: StackMap locals: java.util.BitSet
StackMap stack:
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.in:Ljava/util/BitSet;
aload 3
invokevirtual java.util.BitSet.and:(Ljava/util/BitSet;)V
9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;
0 10 1 e Lorg/jruby/dirgra/Edge;
0 10 2 pred Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;
3 10 3 predState Ljava/util/BitSet;
6 8 4 n I
MethodParameters:
Name Flags
e
pred
public void initSolution();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.in:Ljava/util/BitSet;
ifnonnull 1
new java.util.BitSet
dup
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.setSize:I
invokespecial java.util.BitSet.<init>:(I)V
goto 2
StackMap locals:
StackMap stack: org.jruby.ir.dataflow.analyses.DefinedVariableNode
1: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.in:Ljava/util/BitSet;
invokevirtual java.util.BitSet.clone:()Ljava/lang/Object;
checkcast java.util.BitSet
StackMap locals: org.jruby.ir.dataflow.analyses.DefinedVariableNode
StackMap stack: org.jruby.ir.dataflow.analyses.DefinedVariableNode java.util.BitSet
2: putfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.tmp:Ljava/util/BitSet;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;
public void applyTransferFunction(org.jruby.ir.instructions.Instr);
descriptor: (Lorg/jruby/ir/instructions/Instr;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.ir.instructions.ResultInstr
ifeq 2
1: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.tmp:Ljava/util/BitSet;
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.DefinedVariablesProblem
aload 1
checkcast org.jruby.ir.instructions.ResultInstr
invokeinterface org.jruby.ir.instructions.ResultInstr.getResult:()Lorg/jruby/ir/operands/Variable;
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.getDFVar:(Lorg/jruby/ir/operands/Variable;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.util.BitSet.set:(I)V
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.jruby.ir.instructions.Instr.getUsedVariables:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: org.jruby.ir.dataflow.analyses.DefinedVariableNode org.jruby.ir.instructions.Instr top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.operands.Variable
astore 2
start local 2 4: aload 2
instanceof org.jruby.ir.operands.LocalVariable
ifeq 6
aload 2
checkcast org.jruby.ir.operands.LocalVariable
invokevirtual org.jruby.ir.operands.LocalVariable.isOuterScopeVar:()Z
ifeq 6
5: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.tmp:Ljava/util/BitSet;
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.DefinedVariablesProblem
aload 2
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.getDFVar:(Lorg/jruby/ir/operands/Variable;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.util.BitSet.set:(I)V
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;
0 8 1 i Lorg/jruby/ir/instructions/Instr;
4 6 2 v Lorg/jruby/ir/operands/Variable;
MethodParameters:
Name Flags
i
private void identifyUndefinedVarsInClosure(java.util.Set<org.jruby.ir.operands.Variable>, org.jruby.ir.IRClosure, );
descriptor: (Ljava/util/Set;Lorg/jruby/ir/IRClosure;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
aload 2
invokevirtual org.jruby.ir.IRClosure.getFlags:()Ljava/util/EnumSet;
getstatic org.jruby.ir.IRFlags.REUSE_PARENT_DYNSCOPE:Lorg/jruby/ir/IRFlags;
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: int
1: iconst_1
StackMap locals: org.jruby.ir.dataflow.analyses.DefinedVariableNode java.util.Set org.jruby.ir.IRClosure int
StackMap stack: int int
2: iadd
istore 4
start local 4 3: aload 2
invokevirtual org.jruby.ir.IRClosure.getFullInterpreterContext:()Lorg/jruby/ir/interpreter/FullInterpreterContext;
invokevirtual org.jruby.ir.interpreter.FullInterpreterContext.setUpUseDefLocalVarMaps:()V
4: aload 2
invokevirtual org.jruby.ir.IRClosure.getUsedLocalVariables:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 13
StackMap locals: org.jruby.ir.dataflow.analyses.DefinedVariableNode java.util.Set org.jruby.ir.IRClosure int int top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.operands.LocalVariable
astore 5
start local 5 6: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.DefinedVariablesProblem
aload 5
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.getDFVar:(Lorg/jruby/ir/operands/Variable;)Ljava/lang/Integer;
ifnonnull 8
7: goto 13
8: StackMap locals: org.jruby.ir.dataflow.analyses.DefinedVariableNode java.util.Set org.jruby.ir.IRClosure int int org.jruby.ir.operands.LocalVariable java.util.Iterator
StackMap stack:
aload 5
invokevirtual org.jruby.ir.operands.LocalVariable.getScopeDepth:()I
iload 4
if_icmpne 13
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.tmp:Ljava/util/BitSet;
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.DefinedVariablesProblem
aload 5
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.getDFVar:(Lorg/jruby/ir/operands/Variable;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.util.BitSet.get:(I)Z
ifne 13
9: aload 1
aload 5
invokevirtual org.jruby.ir.operands.LocalVariable.isOuterScopeVar:()Z
ifne 10
aload 5
goto 11
StackMap locals:
StackMap stack: java.util.Set
10: aload 5
iconst_0
invokevirtual org.jruby.ir.operands.LocalVariable.cloneForDepth:(I)Lorg/jruby/ir/operands/LocalVariable;
StackMap locals: org.jruby.ir.dataflow.analyses.DefinedVariableNode java.util.Set org.jruby.ir.IRClosure int int org.jruby.ir.operands.LocalVariable java.util.Iterator
StackMap stack: java.util.Set org.jruby.ir.operands.LocalVariable
11: invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
12: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.tmp:Ljava/util/BitSet;
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.DefinedVariablesProblem
aload 5
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.getDFVar:(Lorg/jruby/ir/operands/Variable;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.util.BitSet.set:(I)V
end local 5 13: StackMap locals: org.jruby.ir.dataflow.analyses.DefinedVariableNode java.util.Set org.jruby.ir.IRClosure int int top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
14: aload 2
invokevirtual org.jruby.ir.IRClosure.getClosures:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 6
goto 17
StackMap locals:
StackMap stack:
15: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.IRClosure
astore 5
start local 5 16: aload 0
aload 1
aload 5
iload 3
iconst_1
iadd
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariableNode.identifyUndefinedVarsInClosure:(Ljava/util/Set;Lorg/jruby/ir/IRClosure;I)V
end local 5 17: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
18: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;
0 19 1 undefinedVars Ljava/util/Set<Lorg/jruby/ir/operands/Variable;>;
0 19 2 cl Lorg/jruby/ir/IRClosure;
0 19 3 nestingLevel I
3 19 4 clBaseDepth I
6 13 5 lv Lorg/jruby/ir/operands/LocalVariable;
16 17 5 nestedCl Lorg/jruby/ir/IRClosure;
Signature: (Ljava/util/Set<Lorg/jruby/ir/operands/Variable;>;Lorg/jruby/ir/IRClosure;I)V
MethodParameters:
Name Flags
undefinedVars
cl
nestingLevel
public void identifyInits(java.util.Set<org.jruby.ir.operands.Variable>);
descriptor: (Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.DefinedVariablesProblem
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.getScope:()Lorg/jruby/ir/IRScope;
invokevirtual org.jruby.ir.IRScope.getFlags:()Ljava/util/EnumSet;
getstatic org.jruby.ir.IRFlags.REUSE_PARENT_DYNSCOPE:Lorg/jruby/ir/IRFlags;
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: istore 2
start local 2 3: aload 0
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariableNode.initSolution:()V
4: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.basicBlock:Lorg/jruby/ir/representations/BasicBlock;
invokevirtual org.jruby.ir.representations.BasicBlock.getInstrs:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 29
StackMap locals: org.jruby.ir.dataflow.analyses.DefinedVariableNode java.util.Set int top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.instructions.Instr
astore 3
start local 3 6: aload 3
invokevirtual org.jruby.ir.instructions.Instr.getUsedVariables:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 22
StackMap locals: org.jruby.ir.dataflow.analyses.DefinedVariableNode java.util.Set int org.jruby.ir.instructions.Instr java.util.Iterator top java.util.Iterator
StackMap stack:
7: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.operands.Variable
astore 5
start local 5 8: aload 5
invokevirtual org.jruby.ir.operands.Variable.isSelf:()Z
ifne 22
9: aload 5
instanceof org.jruby.ir.operands.LocalVariable
ifeq 17
10: aload 5
checkcast org.jruby.ir.operands.LocalVariable
astore 7
start local 7 11: aload 7
invokevirtual org.jruby.ir.operands.LocalVariable.getScopeDepth:()I
iload 2
if_icmpge 15
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.tmp:Ljava/util/BitSet;
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.DefinedVariablesProblem
aload 5
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.getDFVar:(Lorg/jruby/ir/operands/Variable;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.util.BitSet.get:(I)Z
ifne 15
12: aload 1
aload 7
invokevirtual org.jruby.ir.operands.LocalVariable.isOuterScopeVar:()Z
ifne 13
aload 7
goto 14
StackMap locals: org.jruby.ir.dataflow.analyses.DefinedVariableNode java.util.Set int org.jruby.ir.instructions.Instr java.util.Iterator org.jruby.ir.operands.Variable java.util.Iterator org.jruby.ir.operands.LocalVariable
StackMap stack: java.util.Set
13: aload 7
iconst_0
invokevirtual org.jruby.ir.operands.LocalVariable.cloneForDepth:(I)Lorg/jruby/ir/operands/LocalVariable;
StackMap locals: org.jruby.ir.dataflow.analyses.DefinedVariableNode java.util.Set int org.jruby.ir.instructions.Instr java.util.Iterator org.jruby.ir.operands.Variable java.util.Iterator org.jruby.ir.operands.LocalVariable
StackMap stack: java.util.Set org.jruby.ir.operands.LocalVariable
14: invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
15: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.tmp:Ljava/util/BitSet;
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.DefinedVariablesProblem
aload 7
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.getDFVar:(Lorg/jruby/ir/operands/Variable;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.util.BitSet.set:(I)V
end local 7 16: goto 22
StackMap locals:
StackMap stack:
17: aload 5
instanceof org.jruby.ir.operands.TemporaryLocalVariable
ifeq 22
18: aload 5
checkcast org.jruby.ir.operands.TemporaryLocalVariable
astore 7
start local 7 19: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.tmp:Ljava/util/BitSet;
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.DefinedVariablesProblem
aload 5
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.getDFVar:(Lorg/jruby/ir/operands/Variable;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.util.BitSet.get:(I)Z
ifne 21
20: aload 1
aload 7
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
21: StackMap locals: org.jruby.ir.operands.TemporaryLocalVariable
StackMap stack:
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.tmp:Ljava/util/BitSet;
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.DefinedVariablesProblem
aload 7
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.getDFVar:(Lorg/jruby/ir/operands/Variable;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.util.BitSet.set:(I)V
end local 7 end local 5 22: StackMap locals: org.jruby.ir.dataflow.analyses.DefinedVariableNode java.util.Set int org.jruby.ir.instructions.Instr java.util.Iterator top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
23: aload 3
instanceof org.jruby.ir.instructions.ClosureAcceptingInstr
ifeq 27
24: aload 3
checkcast org.jruby.ir.instructions.ClosureAcceptingInstr
invokeinterface org.jruby.ir.instructions.ClosureAcceptingInstr.getClosureArg:()Lorg/jruby/ir/operands/Operand;
astore 5
start local 5 25: aload 5
ifnull 27
aload 5
instanceof org.jruby.ir.operands.WrappedIRClosure
ifeq 27
26: aload 0
aload 1
aload 5
checkcast org.jruby.ir.operands.WrappedIRClosure
invokevirtual org.jruby.ir.operands.WrappedIRClosure.getClosure:()Lorg/jruby/ir/IRClosure;
iconst_0
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariableNode.identifyUndefinedVarsInClosure:(Ljava/util/Set;Lorg/jruby/ir/IRClosure;I)V
end local 5 27: StackMap locals: org.jruby.ir.dataflow.analyses.DefinedVariableNode java.util.Set int org.jruby.ir.instructions.Instr java.util.Iterator
StackMap stack:
aload 3
instanceof org.jruby.ir.instructions.ResultInstr
ifeq 29
28: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.tmp:Ljava/util/BitSet;
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.DefinedVariablesProblem
aload 3
checkcast org.jruby.ir.instructions.ResultInstr
invokeinterface org.jruby.ir.instructions.ResultInstr.getResult:()Lorg/jruby/ir/operands/Variable;
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.getDFVar:(Lorg/jruby/ir/operands/Variable;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.util.BitSet.set:(I)V
end local 3 29: StackMap locals: org.jruby.ir.dataflow.analyses.DefinedVariableNode java.util.Set int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
30: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;
0 31 1 undefinedVars Ljava/util/Set<Lorg/jruby/ir/operands/Variable;>;
3 31 2 parentScopeDepth I
6 29 3 i Lorg/jruby/ir/instructions/Instr;
8 22 5 v Lorg/jruby/ir/operands/Variable;
11 16 7 lv Lorg/jruby/ir/operands/LocalVariable;
19 22 7 tlv Lorg/jruby/ir/operands/TemporaryLocalVariable;
25 27 5 o Lorg/jruby/ir/operands/Operand;
Signature: (Ljava/util/Set<Lorg/jruby/ir/operands/Variable;>;)V
MethodParameters:
Name Flags
undefinedVars
public boolean solutionChanged();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.tmp:Ljava/util/BitSet;
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.out:Ljava/util/BitSet;
invokevirtual java.util.BitSet.equals:(Ljava/lang/Object;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;
public void finalizeSolution();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.tmp:Ljava/util/BitSet;
putfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.out:Ljava/util/BitSet;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;
private java.lang.String printSet(java.util.BitSet);
descriptor: (Ljava/util/BitSet;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 9
4: StackMap locals: java.lang.StringBuilder int int
StackMap stack:
aload 1
iload 4
invokevirtual java.util.BitSet.get:(I)Z
ifeq 8
5: iinc 3 1
6: aload 2
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.DefinedVariablesProblem
iload 4
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariablesProblem.getVariable:(I)Lorg/jruby/ir/operands/Variable;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
7: iload 3
bipush 10
irem
ifne 8
aload 2
ldc "\t\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
aload 1
invokevirtual java.util.BitSet.size:()I
if_icmplt 4
end local 4 10: iload 3
bipush 10
irem
ifeq 11
aload 2
ldc "\t\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: StackMap locals:
StackMap stack:
aload 2
bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;
0 12 1 set Ljava/util/BitSet;
1 12 2 buf Ljava/lang/StringBuilder;
2 12 3 count I
3 10 4 i I
MethodParameters:
Name Flags
set
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "\tVars defined on Entry: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.in:Ljava/util/BitSet;
ifnonnull 5
3: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "-- NO in!"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: goto 6
5: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
aload 0
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.in:Ljava/util/BitSet;
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariableNode.printSet:(Ljava/util/BitSet;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
aload 1
ldc "\n\tVars defined on Exit: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.out:Ljava/util/BitSet;
ifnonnull 10
8: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "-- NO out!"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: goto 11
10: StackMap locals:
StackMap stack:
aload 1
aload 0
aload 0
getfield org.jruby.ir.dataflow.analyses.DefinedVariableNode.out:Ljava/util/BitSet;
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariableNode.printSet:(Ljava/util/BitSet;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: StackMap locals:
StackMap stack:
aload 1
bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;
1 12 1 buf Ljava/lang/StringBuilder;
public void compute_MEET(org.jruby.dirgra.Edge, org.jruby.ir.dataflow.FlowGraphNode);
descriptor: (Lorg/jruby/dirgra/Edge;Lorg/jruby/ir/dataflow/FlowGraphNode;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast org.jruby.ir.dataflow.analyses.DefinedVariableNode
invokevirtual org.jruby.ir.dataflow.analyses.DefinedVariableNode.compute_MEET:(Lorg/jruby/dirgra/Edge;Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/jruby/ir/dataflow/FlowGraphNode<Lorg/jruby/ir/dataflow/analyses/DefinedVariablesProblem;Lorg/jruby/ir/dataflow/analyses/DefinedVariableNode;>;
SourceFile: "DefinedVariableNode.java"