public class org.jruby.ir.dataflow.analyses.LiveVariableNode extends org.jruby.ir.dataflow.FlowGraphNode<org.jruby.ir.dataflow.analyses.LiveVariablesProblem, org.jruby.ir.dataflow.analyses.LiveVariableNode>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.dataflow.analyses.LiveVariableNode
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 living;
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.LiveVariablesProblem, org.jruby.ir.representations.BasicBlock);
descriptor: (Lorg/jruby/ir/dataflow/analyses/LiveVariablesProblem;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/LiveVariableNode;
0 2 1 prob Lorg/jruby/ir/dataflow/analyses/LiveVariablesProblem;
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=4, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.getDFVarsCount:()I
putfield org.jruby.ir.dataflow.analyses.LiveVariableNode.setSize:I
1: aload 0
new java.util.BitSet
dup
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.setSize:I
invokespecial java.util.BitSet.<init>:(I)V
putfield org.jruby.ir.dataflow.analyses.LiveVariableNode.out:Ljava/util/BitSet;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/dataflow/analyses/LiveVariableNode;
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.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
aload 1
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.dfVarExists:(Lorg/jruby/ir/operands/Variable;)Z
ifne 1
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
aload 1
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.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/LiveVariableNode;
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.LiveVariableNode.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.LiveVariableNode 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.LiveVariableNode.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/LiveVariableNode;
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=4, locals=4, args_size=1
start local 0 0: aload 0
1: new java.util.BitSet
dup
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.setSize:I
invokespecial java.util.BitSet.<init>:(I)V
putfield org.jruby.ir.dataflow.analyses.LiveVariableNode.in:Ljava/util/BitSet;
2: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.basicBlock:Lorg/jruby/ir/representations/BasicBlock;
invokevirtual org.jruby.ir.representations.BasicBlock.isExitBB:()Z
ifeq 14
3: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.getVarsLiveOnScopeExit:()Ljava/util/Collection;
astore 1
start local 1 4: aload 1
ifnull 9
aload 1
invokeinterface java.util.Collection.isEmpty:()Z
ifne 9
5: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: org.jruby.ir.dataflow.analyses.LiveVariableNode java.util.Collection top java.util.Iterator
StackMap stack:
6: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.operands.Variable
astore 2
start local 2 7: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.in:Ljava/util/BitSet;
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
aload 2
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.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 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: StackMap locals: org.jruby.ir.dataflow.analyses.LiveVariableNode java.util.Collection
StackMap stack:
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.getScope:()Lorg/jruby/ir/IRScope;
invokevirtual org.jruby.ir.IRScope.bindingHasEscaped:()Z
ifeq 14
10: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.getNonSelfLocalVars:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 13
StackMap locals: org.jruby.ir.dataflow.analyses.LiveVariableNode java.util.Collection top java.util.Iterator
StackMap stack:
11: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.operands.Variable
astore 2
start local 2 12: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.in:Ljava/util/BitSet;
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
aload 2
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.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 13: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
end local 1 14: StackMap locals: org.jruby.ir.dataflow.analyses.LiveVariableNode
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/jruby/ir/dataflow/analyses/LiveVariableNode;
4 14 1 lv Ljava/util/Collection<Lorg/jruby/ir/operands/LocalVariable;>;
7 8 2 v Lorg/jruby/ir/operands/Variable;
12 13 2 x Lorg/jruby/ir/operands/Variable;
public void compute_MEET(org.jruby.dirgra.Edge, org.jruby.ir.dataflow.analyses.LiveVariableNode);
descriptor: (Lorg/jruby/dirgra/Edge;Lorg/jruby/ir/dataflow/analyses/LiveVariableNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.in:Ljava/util/BitSet;
aload 2
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.out:Ljava/util/BitSet;
invokevirtual java.util.BitSet.or:(Ljava/util/BitSet;)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/LiveVariableNode;
0 2 1 e Lorg/jruby/dirgra/Edge;
0 2 2 pred Lorg/jruby/ir/dataflow/analyses/LiveVariableNode;
MethodParameters:
Name Flags
e
pred
private void markAllVariablesLive(org.jruby.ir.dataflow.analyses.LiveVariablesProblem, java.util.Collection<? extends org.jruby.ir.operands.Variable>);
descriptor: (Lorg/jruby/ir/dataflow/analyses/LiveVariablesProblem;Ljava/util/Collection;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 3
StackMap locals: org.jruby.ir.dataflow.analyses.LiveVariableNode org.jruby.ir.dataflow.analyses.LiveVariablesProblem java.util.Collection top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.operands.Variable
astore 3
start local 3 2: aload 0
aload 1
aload 3
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariableNode.markVariableLive:(Lorg/jruby/ir/dataflow/analyses/LiveVariablesProblem;Lorg/jruby/ir/operands/Variable;)V
end local 3 3: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
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/LiveVariableNode;
0 5 1 lvp Lorg/jruby/ir/dataflow/analyses/LiveVariablesProblem;
0 5 2 variableList Ljava/util/Collection<+Lorg/jruby/ir/operands/Variable;>;
2 3 3 variable Lorg/jruby/ir/operands/Variable;
Signature: (Lorg/jruby/ir/dataflow/analyses/LiveVariablesProblem;Ljava/util/Collection<+Lorg/jruby/ir/operands/Variable;>;)V
MethodParameters:
Name Flags
lvp
variableList
private void markVariableLive(org.jruby.ir.dataflow.analyses.LiveVariablesProblem, org.jruby.ir.operands.Variable);
descriptor: (Lorg/jruby/ir/dataflow/analyses/LiveVariablesProblem;Lorg/jruby/ir/operands/Variable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.getDFVar:(Lorg/jruby/ir/operands/Variable;)Ljava/lang/Integer;
astore 3
start local 3 1: aload 3
ifnull 2
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.living:Ljava/util/BitSet;
aload 3
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.util.BitSet.set:(I)V
2: StackMap locals: java.lang.Integer
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/dataflow/analyses/LiveVariableNode;
0 3 1 lvp Lorg/jruby/ir/dataflow/analyses/LiveVariablesProblem;
0 3 2 x Lorg/jruby/ir/operands/Variable;
1 3 3 dv Ljava/lang/Integer;
MethodParameters:
Name Flags
lvp
x
public void initSolution();
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.LiveVariableNode.in:Ljava/util/BitSet;
invokevirtual java.util.BitSet.clone:()Ljava/lang/Object;
checkcast java.util.BitSet
putfield org.jruby.ir.dataflow.analyses.LiveVariableNode.living:Ljava/util/BitSet;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/dataflow/analyses/LiveVariableNode;
public void applyTransferFunction(org.jruby.ir.instructions.Instr);
descriptor: (Lorg/jruby/ir/instructions/Instr;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.getScope:()Lorg/jruby/ir/IRScope;
invokevirtual org.jruby.ir.IRScope.bindingHasEscaped:()Z
istore 2
start local 2 1: aload 1
instanceof org.jruby.ir.instructions.ResultInstr
ifeq 4
2: aload 1
checkcast org.jruby.ir.instructions.ResultInstr
invokeinterface org.jruby.ir.instructions.ResultInstr.getResult:()Lorg/jruby/ir/operands/Variable;
astore 3
start local 3 3: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.living:Ljava/util/BitSet;
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
aload 3
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.getDFVar:(Lorg/jruby/ir/operands/Variable;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.util.BitSet.clear:(I)V
end local 3 4: StackMap locals: int
StackMap stack:
aload 1
instanceof org.jruby.ir.instructions.ClosureAcceptingInstr
ifeq 18
5: aload 1
checkcast org.jruby.ir.instructions.ClosureAcceptingInstr
invokeinterface org.jruby.ir.instructions.ClosureAcceptingInstr.getClosureArg:()Lorg/jruby/ir/operands/Operand;
astore 3
start local 3 6: aload 3
ifnull 7
aload 3
instanceof org.jruby.ir.operands.WrappedIRClosure
ifne 8
StackMap locals: org.jruby.ir.operands.Operand
StackMap stack:
7: iload 2
ifeq 13
8: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.getNonSelfLocalVars:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 11
StackMap locals: org.jruby.ir.dataflow.analyses.LiveVariableNode org.jruby.ir.instructions.Instr int org.jruby.ir.operands.Operand top java.util.Iterator
StackMap stack:
9: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.operands.Variable
astore 4
start local 4 10: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.living:Ljava/util/BitSet;
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
aload 4
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.getDFVar:(Lorg/jruby/ir/operands/Variable;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.util.BitSet.set:(I)V
end local 4 11: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
12: goto 18
13: StackMap locals: org.jruby.ir.dataflow.analyses.LiveVariableNode org.jruby.ir.instructions.Instr int org.jruby.ir.operands.Operand
StackMap stack:
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.getNonSelfLocalVars:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 17
StackMap locals: org.jruby.ir.dataflow.analyses.LiveVariableNode org.jruby.ir.instructions.Instr int org.jruby.ir.operands.Operand top java.util.Iterator
StackMap stack:
14: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.operands.Variable
astore 4
start local 4 15: aload 4
instanceof org.jruby.ir.operands.LocalVariable
ifeq 17
aload 4
checkcast org.jruby.ir.operands.LocalVariable
invokevirtual org.jruby.ir.operands.LocalVariable.isOuterScopeVar:()Z
ifeq 17
16: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.living:Ljava/util/BitSet;
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
aload 4
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.getDFVar:(Lorg/jruby/ir/operands/Variable;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.util.BitSet.set:(I)V
end local 4 17: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
end local 3 18: StackMap locals: org.jruby.ir.dataflow.analyses.LiveVariableNode org.jruby.ir.instructions.Instr int
StackMap stack:
aload 1
invokevirtual org.jruby.ir.instructions.Instr.canRaiseException:()Z
ifeq 19
aload 0
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariableNode.makeOutExceptionVariablesLiving:()V
19: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
aload 1
invokevirtual org.jruby.ir.instructions.Instr.getUsedVariables:()Ljava/util/List;
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariableNode.markAllVariablesLive:(Lorg/jruby/ir/dataflow/analyses/LiveVariablesProblem;Ljava/util/Collection;)V
20: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/jruby/ir/dataflow/analyses/LiveVariableNode;
0 21 1 i Lorg/jruby/ir/instructions/Instr;
1 21 2 scopeBindingHasEscaped Z
3 4 3 v Lorg/jruby/ir/operands/Variable;
6 18 3 o Lorg/jruby/ir/operands/Operand;
10 11 4 x Lorg/jruby/ir/operands/Variable;
15 17 4 x Lorg/jruby/ir/operands/Variable;
MethodParameters:
Name Flags
i
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.LiveVariableNode.living:Ljava/util/BitSet;
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.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/LiveVariableNode;
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.LiveVariableNode.living:Ljava/util/BitSet;
putfield org.jruby.ir.dataflow.analyses.LiveVariableNode.out:Ljava/util/BitSet;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/dataflow/analyses/LiveVariableNode;
private void makeOutExceptionVariablesLiving();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.living:Ljava/util/BitSet;
aload 0
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariableNode.getExceptionTargetNode:()Lorg/jruby/ir/dataflow/FlowGraphNode;
checkcast org.jruby.ir.dataflow.analyses.LiveVariableNode
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.out:Ljava/util/BitSet;
invokevirtual java.util.BitSet.or:(Ljava/util/BitSet;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/dataflow/analyses/LiveVariableNode;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, 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 Live on Entry: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: iconst_0
istore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 10
5: StackMap locals: java.lang.StringBuilder int int
StackMap stack:
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.in:Ljava/util/BitSet;
iload 3
invokevirtual java.util.BitSet.get:(I)Z
ifeq 9
6: iinc 2 1
7: aload 1
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
iload 3
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.getVariable:(I)Lorg/jruby/ir/operands/Variable;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
8: iload 2
bipush 10
irem
ifne 9
aload 1
ldc "\t\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.in:Ljava/util/BitSet;
invokevirtual java.util.BitSet.size:()I
if_icmplt 5
end local 3 11: iload 2
bipush 10
irem
ifeq 12
aload 1
ldc "\t\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: StackMap locals:
StackMap stack:
aload 1
ldc "\n\tVars Live on Exit: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: iconst_0
istore 2
14: iconst_0
istore 3
start local 3 15: goto 21
16: StackMap locals: int
StackMap stack:
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.out:Ljava/util/BitSet;
iload 3
invokevirtual java.util.BitSet.get:(I)Z
ifeq 20
17: iinc 2 1
18: aload 1
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
iload 3
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.getVariable:(I)Lorg/jruby/ir/operands/Variable;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
19: iload 2
bipush 10
irem
ifne 20
aload 1
ldc "\t\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
21: iload 3
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.out:Ljava/util/BitSet;
invokevirtual java.util.BitSet.size:()I
if_icmplt 16
end local 3 22: iload 2
bipush 10
irem
ifeq 23
aload 1
ldc "\t\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
23: 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 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/jruby/ir/dataflow/analyses/LiveVariableNode;
1 24 1 buf Ljava/lang/StringBuilder;
3 24 2 count I
4 11 3 i I
15 22 3 i I
void markDeadInstructions();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=9, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.getScope:()Lorg/jruby/ir/IRScope;
astore 1
start local 1 1: aload 1
invokevirtual org.jruby.ir.IRScope.bindingHasEscaped:()Z
istore 2
start local 2 2: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.in:Ljava/util/BitSet;
ifnonnull 8
3: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.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 6
StackMap locals: org.jruby.ir.dataflow.analyses.LiveVariableNode org.jruby.ir.IRScope int top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.instructions.Instr
astore 3
start local 3 5: aload 3
invokevirtual org.jruby.ir.instructions.Instr.markDead:()V
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: return
8: StackMap locals: org.jruby.ir.dataflow.analyses.LiveVariableNode org.jruby.ir.IRScope int
StackMap stack:
aload 0
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariableNode.initSolution:()V
9: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.basicBlock:Lorg/jruby/ir/representations/BasicBlock;
invokevirtual org.jruby.ir.representations.BasicBlock.getInstrs:()Ljava/util/List;
astore 3
start local 3 10: aload 3
aload 3
invokeinterface java.util.List.size:()I
invokeinterface java.util.List.listIterator:(I)Ljava/util/ListIterator;
astore 4
start local 4 11: goto 42
12: StackMap locals: java.util.List java.util.ListIterator
StackMap stack:
aload 4
invokeinterface java.util.ListIterator.previous:()Ljava/lang/Object;
checkcast org.jruby.ir.instructions.Instr
astore 5
start local 5 13: aload 5
instanceof org.jruby.ir.instructions.ResultInstr
ifeq 23
14: aload 5
checkcast org.jruby.ir.instructions.ResultInstr
invokeinterface org.jruby.ir.instructions.ResultInstr.getResult:()Lorg/jruby/ir/operands/Variable;
astore 6
start local 6 15: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
aload 6
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.getDFVar:(Lorg/jruby/ir/operands/Variable;)Ljava/lang/Integer;
astore 7
start local 7 16: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.living:Ljava/util/BitSet;
aload 7
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.util.BitSet.get:(I)Z
ifeq 19
17: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.living:Ljava/util/BitSet;
aload 7
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.util.BitSet.clear:(I)V
18: goto 26
StackMap locals: org.jruby.ir.instructions.Instr org.jruby.ir.operands.Variable java.lang.Integer
StackMap stack:
19: aload 5
invokevirtual org.jruby.ir.instructions.Instr.isDeletable:()Z
ifeq 26
20: aload 5
invokevirtual org.jruby.ir.instructions.Instr.markDead:()V
21: aload 4
invokeinterface java.util.ListIterator.remove:()V
end local 7 end local 6 22: goto 26
StackMap locals:
StackMap stack:
23: aload 5
invokevirtual org.jruby.ir.instructions.Instr.isDeletable:()Z
ifeq 26
24: aload 5
invokevirtual org.jruby.ir.instructions.Instr.markDead:()V
25: aload 4
invokeinterface java.util.ListIterator.remove:()V
26: StackMap locals:
StackMap stack:
aload 5
instanceof org.jruby.ir.instructions.ClosureAcceptingInstr
ifeq 40
27: aload 5
checkcast org.jruby.ir.instructions.ClosureAcceptingInstr
invokeinterface org.jruby.ir.instructions.ClosureAcceptingInstr.getClosureArg:()Lorg/jruby/ir/operands/Operand;
astore 6
start local 6 28: aload 6
ifnull 29
aload 6
instanceof org.jruby.ir.operands.WrappedIRClosure
ifne 30
StackMap locals: org.jruby.ir.operands.Operand
StackMap stack:
29: iload 2
ifeq 35
30: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.getNonSelfLocalVars:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 33
StackMap locals: org.jruby.ir.dataflow.analyses.LiveVariableNode org.jruby.ir.IRScope int java.util.List java.util.ListIterator org.jruby.ir.instructions.Instr org.jruby.ir.operands.Operand top java.util.Iterator
StackMap stack:
31: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.operands.Variable
astore 7
start local 7 32: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.living:Ljava/util/BitSet;
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
aload 7
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.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 33: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 31
34: goto 40
35: StackMap locals: org.jruby.ir.dataflow.analyses.LiveVariableNode org.jruby.ir.IRScope int java.util.List java.util.ListIterator org.jruby.ir.instructions.Instr org.jruby.ir.operands.Operand
StackMap stack:
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.getNonSelfLocalVars:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 39
StackMap locals: org.jruby.ir.dataflow.analyses.LiveVariableNode org.jruby.ir.IRScope int java.util.List java.util.ListIterator org.jruby.ir.instructions.Instr org.jruby.ir.operands.Operand top java.util.Iterator
StackMap stack:
36: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ir.operands.Variable
astore 7
start local 7 37: aload 7
instanceof org.jruby.ir.operands.LocalVariable
ifeq 39
aload 7
checkcast org.jruby.ir.operands.LocalVariable
invokevirtual org.jruby.ir.operands.LocalVariable.isOuterScopeVar:()Z
ifeq 39
38: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.living:Ljava/util/BitSet;
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
aload 7
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariablesProblem.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 39: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 36
end local 6 40: StackMap locals: org.jruby.ir.dataflow.analyses.LiveVariableNode org.jruby.ir.IRScope int java.util.List java.util.ListIterator org.jruby.ir.instructions.Instr
StackMap stack:
aload 5
invokevirtual org.jruby.ir.instructions.Instr.canRaiseException:()Z
ifeq 41
aload 0
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariableNode.makeOutExceptionVariablesLiving:()V
41: StackMap locals:
StackMap stack:
aload 5
invokevirtual org.jruby.ir.instructions.Instr.isDead:()Z
ifne 42
aload 0
aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.problem:Lorg/jruby/ir/dataflow/DataFlowProblem;
checkcast org.jruby.ir.dataflow.analyses.LiveVariablesProblem
aload 5
invokevirtual org.jruby.ir.instructions.Instr.getUsedVariables:()Ljava/util/List;
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariableNode.markAllVariablesLive:(Lorg/jruby/ir/dataflow/analyses/LiveVariablesProblem;Ljava/util/Collection;)V
end local 5 42: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.ListIterator.hasPrevious:()Z
ifne 12
43: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Lorg/jruby/ir/dataflow/analyses/LiveVariableNode;
1 44 1 scope Lorg/jruby/ir/IRScope;
2 44 2 scopeBindingHasEscaped Z
5 6 3 i Lorg/jruby/ir/instructions/Instr;
10 44 3 instrs Ljava/util/List<Lorg/jruby/ir/instructions/Instr;>;
11 44 4 it Ljava/util/ListIterator<Lorg/jruby/ir/instructions/Instr;>;
13 42 5 i Lorg/jruby/ir/instructions/Instr;
15 22 6 v Lorg/jruby/ir/operands/Variable;
16 22 7 dv Ljava/lang/Integer;
28 40 6 o Lorg/jruby/ir/operands/Operand;
32 33 7 x Lorg/jruby/ir/operands/Variable;
37 39 7 x Lorg/jruby/ir/operands/Variable;
java.util.BitSet getLiveInBitSet();
descriptor: ()Ljava/util/BitSet;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.in:Ljava/util/BitSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/dataflow/analyses/LiveVariableNode;
java.util.BitSet getLiveOutBitSet();
descriptor: ()Ljava/util/BitSet;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.dataflow.analyses.LiveVariableNode.out:Ljava/util/BitSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/dataflow/analyses/LiveVariableNode;
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.LiveVariableNode
invokevirtual org.jruby.ir.dataflow.analyses.LiveVariableNode.compute_MEET:(Lorg/jruby/dirgra/Edge;Lorg/jruby/ir/dataflow/analyses/LiveVariableNode;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/jruby/ir/dataflow/FlowGraphNode<Lorg/jruby/ir/dataflow/analyses/LiveVariablesProblem;Lorg/jruby/ir/dataflow/analyses/LiveVariableNode;>;
SourceFile: "LiveVariableNode.java"