org.jruby.compiler.ir.dataflow.analyses
Class BindingStorePlacementProblem

java.lang.Object
  extended by org.jruby.compiler.ir.dataflow.DataFlowProblem
      extended by org.jruby.compiler.ir.dataflow.analyses.BindingStorePlacementProblem

public class BindingStorePlacementProblem
extends DataFlowProblem


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jruby.compiler.ir.dataflow.DataFlowProblem
DataFlowProblem.DF_Direction
 
Field Summary
 
Fields inherited from class org.jruby.compiler.ir.dataflow.DataFlowProblem
_cfg, _direction, _fgNodes
 
Constructor Summary
BindingStorePlacementProblem()
           
 
Method Summary
 void addStoreAndBindingAllocInstructions()
           
 FlowGraphNode buildFlowGraphNode(BasicBlock bb)
           
 java.lang.String getDataFlowVarsForOutput()
           
 java.lang.String getName()
           
 boolean scopeDefinesVariable(Variable v)
           
 boolean scopeUsesVariable(Variable v)
           
 
Methods inherited from class org.jruby.compiler.ir.dataflow.DataFlowProblem
compute_MOP_Solution, getCFG, getDFVarsCount, getFlowDirection, getFlowGraphNode, incomingEdgesOf, isEmpty, outgoingEdgesOf, setup, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BindingStorePlacementProblem

public BindingStorePlacementProblem()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in class DataFlowProblem

buildFlowGraphNode

public FlowGraphNode buildFlowGraphNode(BasicBlock bb)
Specified by:
buildFlowGraphNode in class DataFlowProblem

getDataFlowVarsForOutput

public java.lang.String getDataFlowVarsForOutput()
Overrides:
getDataFlowVarsForOutput in class DataFlowProblem

scopeDefinesVariable

public boolean scopeDefinesVariable(Variable v)

scopeUsesVariable

public boolean scopeUsesVariable(Variable v)

addStoreAndBindingAllocInstructions

public void addStoreAndBindingAllocInstructions()


Copyright © 2002-2009 JRuby Team. All Rights Reserved.