diff options
| author | Cliff Click <cliffc@acm.org> | 2025-03-15 12:06:11 -0700 |
|---|---|---|
| committer | Cliff Click <cliffc@acm.org> | 2025-03-15 12:06:11 -0700 |
| commit | b6cbd3d7b7698922e60e2c3eadadab51a430efe1 (patch) | |
| tree | 047eadd501d6c01363d8b3b10d3f09fd1df0676d /chapter21/src/test | |
| parent | a36369843133a170718006600890d12ceb66a553 (diff) | |
| download | Simple-b6cbd3d7b7698922e60e2c3eadadab51a430efe1.tar.gz Simple-b6cbd3d7b7698922e60e2c3eadadab51a430efe1.zip | |
Progress towards no crashes
Multi-part constant expansion was buggy when splitting down into functions.
Improved printing for RISC multi-part constants.
Diffstat (limited to 'chapter21/src/test')
| -rw-r--r-- | chapter21/src/test/java/com/seaofnodes/simple/Chapter20Test.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter21/src/test/java/com/seaofnodes/simple/Chapter20Test.java b/chapter21/src/test/java/com/seaofnodes/simple/Chapter20Test.java index 7f5cabc4..a18822c2 100644 --- a/chapter21/src/test/java/com/seaofnodes/simple/Chapter20Test.java +++ b/chapter21/src/test/java/com/seaofnodes/simple/Chapter20Test.java @@ -10,6 +10,7 @@ import static org.junit.Assert.*; public class Chapter20Test { + //-3834621514626535010L @Test public void testJig() { CodeGen code = new CodeGen("return 0;"); @@ -23,7 +24,6 @@ public class Chapter20Test { code.parse().opto().typeCheck().instSelect(PORTS,cpu,os).GCM().localSched().regAlloc(); int delta = spills>>3; if( delta==0 ) delta = 1; - code.asm(); assertEquals("Expect spills:",spills,code._regAlloc._spillScaled,delta); if( stop != null ) assertEquals(stop, code._stop.toString()); |
