diff options
| author | Cliff Click <cliffc@acm.org> | 2025-04-20 12:14:22 -0700 |
|---|---|---|
| committer | Cliff Click <cliffc@acm.org> | 2025-04-20 12:14:22 -0700 |
| commit | c0b6e387d7c40aec9e8d626976f4cfac27c54f90 (patch) | |
| tree | 9e8394300e7d05dd4f389e09f58b2c8b12791902 /chapter21/src/test/java/com | |
| parent | 0f3ece57429baf2014fd08a4fd167c6ad7b1315b (diff) | |
| download | Simple-c0b6e387d7c40aec9e8d626976f4cfac27c54f90.tar.gz Simple-c0b6e387d7c40aec9e8d626976f4cfac27c54f90.zip | |
Fix bugs
One more encoding invert-branch test version, with extensive comments and symmetry pointed out. Fixes missing back branch at loop end.
Switch the arguments to `dep.addDep(this)` to become `this.addDep(dep)` shortened to `addDep(dep)`.
One more missing dep in Region fusing.
Diffstat (limited to 'chapter21/src/test/java/com')
| -rw-r--r-- | chapter21/src/test/java/com/seaofnodes/simple/Chapter21Test.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter21/src/test/java/com/seaofnodes/simple/Chapter21Test.java b/chapter21/src/test/java/com/seaofnodes/simple/Chapter21Test.java index 2a5082a0..ed869ed3 100644 --- a/chapter21/src/test/java/com/seaofnodes/simple/Chapter21Test.java +++ b/chapter21/src/test/java/com/seaofnodes/simple/Chapter21Test.java @@ -12,10 +12,10 @@ import static org.junit.Assert.*; public class Chapter21Test { - @Test @Ignore + @Test public void testJig() throws IOException { String src = Files.readString(Path.of("src/test/java/com/seaofnodes/simple/progs/jig.smp")); - testCPU(src,"x86_64_v2", "Win64",-1,null); + testCPU(src,"x86_64_v2", "Win64" ,-1,null); testCPU(src,"riscv" , "SystemV",-1,null); testCPU(src,"arm" , "SystemV",-1,null); } |
