coins.aflow
Class BBlockHirNodeIteratorImpl

java.lang.Object
  extended bycoins.aflow.BBlockHirNodeIteratorImpl
All Implemented Interfaces:
BBlockNodeIterator

class BBlockHirNodeIteratorImpl
extends java.lang.Object
implements BBlockNodeIterator

Unreliable


Field Summary
(package private) static HIR EOB
           
 
Constructor Summary
(package private) BBlockHirNodeIteratorImpl(BBlockHir pBBlock)
           
 
Method Summary
 IR getNextExecutableNode()
          getNextExecutableNode: Get the node that refer/set data or change control flow directly.
 boolean hasNext()
          hasNext:
 IR next()
          next: Get the next node in this basic block.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EOB

static final HIR EOB
Constructor Detail

BBlockHirNodeIteratorImpl

BBlockHirNodeIteratorImpl(BBlockHir pBBlock)
Method Detail

hasNext

public boolean hasNext()
Description copied from interface: BBlockNodeIterator
hasNext:

Specified by:
hasNext in interface BBlockNodeIterator
Returns:
true if there is next node remaining in the basic block.

next

public IR next()
Description copied from interface: BBlockNodeIterator
next: Get the next node in this basic block. By repetitively invoking "next", all nodes in the basic block are traversed.

Specified by:
next in interface BBlockNodeIterator

getNextExecutableNode

public IR getNextExecutableNode()
Description copied from interface: BBlockNodeIterator
getNextExecutableNode: Get the node that refer/set data or change control flow directly. For what nodes refer/set data or change control flow, see { FlowUtil#isExecutable(coins.ir.IR) FlowUtil.isExecutable(coins.ir.IR)}.

Specified by:
getNextExecutableNode in interface BBlockNodeIterator