merge
This commit is contained in:
parent
a2c388b83d
commit
0545060886
|
@ -42,7 +42,7 @@ import com.ibm.wala.util.strings.StringStuff;
|
|||
*
|
||||
* See http://wala.sourceforge.net/wiki/index.php/UserGuide:IR for more details on the IR API.
|
||||
*/
|
||||
public abstract class IR {
|
||||
public abstract class IR implements IRView {
|
||||
|
||||
/**
|
||||
* The method that defined this IR's bytecodes
|
||||
|
@ -266,6 +266,11 @@ public abstract class IR {
|
|||
return cfg;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Iterator<ISSABasicBlock> getBlocks() {
|
||||
return getControlFlowGraph().iterator();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return an {@link Iterator} of all {@link SSAPhiInstruction}s for this IR.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue