diff options
| author | Hsiang-Ying Fu <66062782+fuhsnn@users.noreply.github.com> | 2026-09-26 05:48:10 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-25 14:48:10 -0700 |
| commit | 4791e3185ba1d364d82c4ffd63f9dc176739493e (patch) | |
| tree | 6765deeafb95acccf7d14086093cc23f620bf356 /chapter24/src/test/java | |
| parent | 0224136a55c6fe681b2620eb1bc267a446d4b319 (diff) | |
| download | Simple-4791e3185ba1d364d82c4ffd63f9dc176739493e.tar.gz Simple-4791e3185ba1d364d82c4ffd63f9dc176739493e.zip | |
Update test result for sysV (#253)
Diffstat (limited to 'chapter24/src/test/java')
| -rw-r--r-- | chapter24/src/test/java/com/seaofnodes/simple/Chapter21Test.java | 2 | ||||
| -rw-r--r-- | chapter24/src/test/java/com/seaofnodes/simple/Chapter24AllocTest.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chapter24/src/test/java/com/seaofnodes/simple/Chapter21Test.java b/chapter24/src/test/java/com/seaofnodes/simple/Chapter21Test.java index afa99d31..86fa016a 100644 --- a/chapter24/src/test/java/com/seaofnodes/simple/Chapter21Test.java +++ b/chapter24/src/test/java/com/seaofnodes/simple/Chapter21Test.java @@ -605,7 +605,7 @@ val fib = {int n -> // than what Win64 allows - so Win64 gets a lot more spills here. String arg_count = "191.000000\n"; TestC.run("arg_count", arg_count, - TestC.CALL_CONVENTION.equals("Win64") ? 32 : 15); + TestC.CALL_CONVENTION.equals("Win64") ? 32 : 9); EvalRisc5 R5 = TestRisc5.build("no_stack_arg_count", 0, 0, false); diff --git a/chapter24/src/test/java/com/seaofnodes/simple/Chapter24AllocTest.java b/chapter24/src/test/java/com/seaofnodes/simple/Chapter24AllocTest.java index 1631705b..a320e21f 100644 --- a/chapter24/src/test/java/com/seaofnodes/simple/Chapter24AllocTest.java +++ b/chapter24/src/test/java/com/seaofnodes/simple/Chapter24AllocTest.java @@ -69,7 +69,7 @@ val addAll = { int i0, flt f1, int i2, flt f3, int i4, flt f5, int i6, flt f7, i """; String arg_count = "191.000000\n"; - TestC.run(src, "arg_count", null, arg_count, TestC.CALL_CONVENTION.equals("Win64") ? 32 : 15); + TestC.run(src, "arg_count", null, arg_count, TestC.CALL_CONVENTION.equals("Win64") ? 32 : 9); EvalRisc5 R5 = TestRisc5.build("no_stack_arg_count", src, 0, 4, false); |
