diff options
| author | Cliff Click <cliffc@acm.org> | 2024-06-30 01:58:08 +0100 |
|---|---|---|
| committer | Cliff Click <cliffc@acm.org> | 2024-10-23 17:51:09 -0700 |
| commit | dc77490c735104497851ed8c12ae5c713ab05b04 (patch) | |
| tree | 251544a95f158f4bcccc4a8d393933e638037265 /src/test/java/com/seaofnodes/simple/Chapter04Test.java | |
| parent | b933257d6b26343f3ad517f5876bb5a0093ab403 (diff) | |
| download | Simple-linear-chapter11.tar.gz Simple-linear-chapter11.zip | |
Chapter 11: Global Code Motionlinear-chapter11
Co-authored-by: Dibyendu Majumdar <mobile@majumdar.org.uk>
Co-authored-by: Thalia Archibald <thalia@archibald.dev>
Co-authored-by: Robert Obkircher <robert.obkircher@gmail.com>
Diffstat (limited to 'src/test/java/com/seaofnodes/simple/Chapter04Test.java')
| -rw-r--r-- | src/test/java/com/seaofnodes/simple/Chapter04Test.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/com/seaofnodes/simple/Chapter04Test.java b/src/test/java/com/seaofnodes/simple/Chapter04Test.java index e23a10b1..70f38dd6 100644 --- a/src/test/java/com/seaofnodes/simple/Chapter04Test.java +++ b/src/test/java/com/seaofnodes/simple/Chapter04Test.java @@ -55,8 +55,8 @@ public class Chapter04Test { Parser parser = new Parser("return arg; "); StopNode stop = parser.parse(); ReturnNode ret = stop.ret(); - assertTrue(ret.in(0) instanceof ProjNode); - assertTrue(ret.in(1) instanceof ProjNode); + assertTrue(ret.in(0) instanceof CProjNode); + assertTrue(ret.in(1) instanceof ProjNode); } @Test |
