Skip to content

Commit 0eaa7bb

Browse files
Sync with final ch21
1 parent 787840a commit 0eaa7bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seaofnodes/src/test/java/com/compilerprogramming/ezlang/compiler/TestSONTypes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ func foo()->Int {
196196

197197
static void testCPU( String src, String cpu, String os, int spills, String stop ) {
198198
CodeGen code = new CodeGen(src);
199-
code.parse().opto().typeCheck().instSelect(cpu,os).GCM().localSched().regAlloc().encode();
199+
code.parse().opto().typeCheck().loopTree().instSelect(cpu,os).GCM().localSched().regAlloc().encode();
200200
int delta = spills>>3;
201201
if( delta==0 ) delta = 1;
202202
assertEquals("Expect spills:",spills,code._regAlloc._spillScaled,delta);

0 commit comments

Comments
 (0)