summaryrefslogtreecommitdiff
path: root/chapter08/src/test/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08/src/test/java/com')
-rw-r--r--chapter08/src/test/java/com/seaofnodes/simple/Chapter06Test.java2
-rw-r--r--chapter08/src/test/java/com/seaofnodes/simple/Chapter07Test.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/chapter08/src/test/java/com/seaofnodes/simple/Chapter06Test.java b/chapter08/src/test/java/com/seaofnodes/simple/Chapter06Test.java
index b858b83e..00d725bc 100644
--- a/chapter08/src/test/java/com/seaofnodes/simple/Chapter06Test.java
+++ b/chapter08/src/test/java/com/seaofnodes/simple/Chapter06Test.java
@@ -29,7 +29,7 @@ if (arg)
a = 2;
return (arg < a) < 3;
""");
- StopNode stop = parser.parse(false);
+ StopNode stop = parser.parse();
assertEquals("return ((arg<Phi(Region12,2,1))<3);", stop.toString());
}
diff --git a/chapter08/src/test/java/com/seaofnodes/simple/Chapter07Test.java b/chapter08/src/test/java/com/seaofnodes/simple/Chapter07Test.java
index d691672e..40933f21 100644
--- a/chapter08/src/test/java/com/seaofnodes/simple/Chapter07Test.java
+++ b/chapter08/src/test/java/com/seaofnodes/simple/Chapter07Test.java
@@ -156,7 +156,7 @@ int a = 1;
while(arg) a = 2;
return a;
""");
- StopNode stop = parser.parse(false);
+ StopNode stop = parser.parse();
assertEquals("return Phi(Loop7,1,2);", stop.toString());
assertTrue(stop.ret().ctrl() instanceof ProjNode);
}