From b6cbd3d7b7698922e60e2c3eadadab51a430efe1 Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Sat, 15 Mar 2025 12:06:11 -0700 Subject: Progress towards no crashes Multi-part constant expansion was buggy when splitting down into functions. Improved printing for RISC multi-part constants. --- chapter21/src/test/java/com/seaofnodes/simple/Chapter20Test.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chapter21/src/test/java') 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()); -- cgit v1.2.3