summaryrefslogtreecommitdiff
path: root/chapter08/src/test/java
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2026-09-22 11:25:05 -0700
committerCliff Click <cliffc@acm.org>2026-09-22 11:25:05 -0700
commit29fb671e69f90ad3b04c6fa8d746caf857f89e77 (patch)
tree2f39d082f8a6de6a2b60b66406f8c9f0190d25c2 /chapter08/src/test/java
parent1d961838cff168a101069d08a8ab6594f49f0911 (diff)
downloadSimple-29fb671e69f90ad3b04c6fa8d746caf857f89e77.tar.gz
Simple-29fb671e69f90ad3b04c6fa8d746caf857f89e77.zip
Add shared graph viewer to all chapters
Diffstat (limited to 'chapter08/src/test/java')
-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);
}