coins.flow
Class FlowIrLinkCellImpl

java.lang.Object
  extended bycoins.flow.FlowIrLinkCellImpl
All Implemented Interfaces:
FlowIrLinkCell

public class FlowIrLinkCellImpl
extends java.lang.Object
implements FlowIrLinkCell

FlowIrLinkCellImpl class Flow analysis and IR link information cell. Every IR node corresponds to a FlowIrLinkCell.


Field Summary
protected  BBlock fBBlock
           
protected  int fDefRefPosition
           
protected  IR fIrNode
           
 
Constructor Summary
FlowIrLinkCellImpl(IR pIrNode, BBlock pBBlock, int pDefRefNumber)
           
 
Method Summary
 BBlock getBBlock()
          getBBlock Get basic block containing the node corresponding to this cell.
 int getDefRefPosition()
           
 int getHashCode()
           
 IR getIrNode()
           
 void setBBlock(BBlock pBBlock)
           
 void setDefRefPosition(int pDefRefPosition)
           
 void setHashCode(int pHashCode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fIrNode

protected IR fIrNode

fDefRefPosition

protected int fDefRefPosition

fBBlock

protected BBlock fBBlock
Constructor Detail

FlowIrLinkCellImpl

public FlowIrLinkCellImpl(IR pIrNode,
                          BBlock pBBlock,
                          int pDefRefNumber)
Method Detail

getIrNode

public IR getIrNode()
Specified by:
getIrNode in interface FlowIrLinkCell

getDefRefPosition

public int getDefRefPosition()
Specified by:
getDefRefPosition in interface FlowIrLinkCell

setDefRefPosition

public void setDefRefPosition(int pDefRefPosition)
Specified by:
setDefRefPosition in interface FlowIrLinkCell

getBBlock

public BBlock getBBlock()
Description copied from interface: FlowIrLinkCell
getBBlock Get basic block containing the node corresponding to this cell. setBBlock Set BBlock corresponding to this cell.

Specified by:
getBBlock in interface FlowIrLinkCell

setBBlock

public void setBBlock(BBlock pBBlock)
Specified by:
setBBlock in interface FlowIrLinkCell

getHashCode

public int getHashCode()
Specified by:
getHashCode in interface FlowIrLinkCell

setHashCode

public void setHashCode(int pHashCode)
Specified by:
setHashCode in interface FlowIrLinkCell