make IBasicBlock an Iterable<IInstruction>. Rename iterateAllInstructions() to iterator()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@876 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
9618f5a8a9
commit
88638ff850
|
@ -244,7 +244,7 @@ public class CompareCDGTest extends WalaTestCase {
|
|||
}
|
||||
Trace.println(") {");
|
||||
|
||||
Iterator<? extends IInstruction> it = ibb.iterateAllInstructions();
|
||||
Iterator<? extends IInstruction> it = ibb.iterator();
|
||||
int j = 0;
|
||||
while (it.hasNext()) {
|
||||
SSAInstruction inst = (SSAInstruction) it.next();
|
||||
|
@ -302,7 +302,7 @@ public class CompareCDGTest extends WalaTestCase {
|
|||
}
|
||||
Trace.println(") {");
|
||||
|
||||
Iterator<? extends IInstruction> it = ibb.iterateAllInstructions();
|
||||
Iterator<? extends IInstruction> it = ibb.iterator();
|
||||
int j = 0;
|
||||
while (it.hasNext()) {
|
||||
SSAInstruction inst = (SSAInstruction) it.next();
|
||||
|
|
Loading…
Reference in New Issue