261 Commits

Author SHA1 Message Date
Rerumu
5f47092a65 Refactor stack leak code 2022-06-19 05:08:11 -04:00
Rerumu
bc64734add Finally fix #7 2022-06-18 00:59:07 -04:00
Rerumu
cc0920b573 Refactor and fix post call stack 2022-06-17 22:43:09 -04:00
Rerumu
34311bd0fb Allow Builder re-use 2022-06-17 22:11:31 -04:00
Rerumu
2fae09e149 Fix minor order peeve 2022-06-17 22:05:57 -04:00
Rerumu
f52033036a Re-classify MemoryGrow as a Statement 2022-06-17 21:56:52 -04:00
Rerumu
0e23793d72 Add accessors for various stack operations 2022-06-17 21:56:49 -04:00
Rerumu
b3c931a38e Add comprehensive stack use analysis 2022-06-17 21:55:08 -04:00
Rerumu
684f2d9ad7 Fix LuaJIT assertion code mistake 2022-06-17 21:15:24 -04:00
Rerumu
ce49e40d26 Fix branching and branch state 2022-06-16 20:13:14 -04:00
Rerumu
0c87c61e01 Add some missing memory functions 2022-06-16 20:13:14 -04:00
Rerumu
99e74e7ea1 Fix software integer instantiation 2022-06-16 20:12:26 -04:00
Rerumu
1939fbb248 Fix zero local count 2022-06-16 20:12:26 -04:00
Rerumu
9ca2c60021 Fix function name translation offset 2022-06-16 20:12:26 -04:00
Rerumu
e956b3a790 Allow non-observer test cases to run 2022-06-16 20:12:26 -04:00
Rerumu
47d755a570 Set up test code per version 2022-06-16 20:12:26 -04:00
Rerumu
13d719ac06 Add spectest environment 2022-06-16 07:22:31 -04:00
Rerumu
fc105553db Omit generating some boilerplate 2022-06-16 06:33:08 -04:00
Rerumu
c8e3777f1c Add back skipped float test cases 2022-06-16 06:33:08 -04:00
Rerumu
a7f30b8157 Fix stack size heuristic overshooting 2022-06-16 06:33:03 -04:00
Rerumu
c756b4bc6d Skip Wat variants for assert_trap 2022-06-16 06:33:03 -04:00
Rerumu
8a92d8f9b6 Fix test module linking 2022-06-16 06:33:03 -04:00
Rerumu
9482438360 Add proper sign extension for integers 2022-06-16 06:33:03 -04:00
Rerumu
d654186234 Add population operations to runtime 2022-06-16 06:33:03 -04:00
Rerumu
c5f7e386c2 Fix signed remainder assumption 2022-06-16 06:33:03 -04:00
Rerumu
860fef391f Fix float writing 2022-06-16 06:33:03 -04:00
Rerumu
2db51b9b00 Fix realloc failing on no-op 2022-06-16 06:33:03 -04:00
Rerumu
9a2b52fde5 Fix memory size leaking behavior 2022-06-16 06:33:03 -04:00
Rerumu
5037ab1ff8 Fix i32 multiplication 2022-06-16 06:33:03 -04:00
Rerumu
bc6ac45059 Fix copysign 2022-06-16 06:33:03 -04:00
Rerumu
e6f1f7469f Fix test NaN sign 2022-06-16 06:33:03 -04:00
Rerumu
46c1dcd21f Make test number comparisons real fuzzy 2022-06-16 06:32:55 -04:00
Rerumu
65cd89c6d7 Fix test number generation 2022-06-15 19:10:06 -04:00
Rerumu
987a19ed8e Make clippy happy 2022-06-15 02:46:55 -04:00
Rerumu
08004a9782 Remove unneeded top level result handling 2022-06-15 02:44:28 -04:00
Rerumu
941bb4842b Fix branching out of loops and improve tracking 2022-06-15 02:34:02 -04:00
Rerumu
a6cf4fdf07 Fix alignment when branching 2022-06-14 00:23:50 -04:00
Rerumu
20b888bfa0 Compartmentalize tests 2022-06-12 19:55:42 -04:00
Rerumu
e9c48f6cec Remove unused label variant 2022-06-12 04:39:19 -04:00
Rerumu
c15a4b3ec7 Fix unreachable code heuristic for conditionals 2022-06-12 04:38:28 -04:00
Rerumu
735dfc7d96 Fix start_else stack size heuristic 2022-06-12 04:38:03 -04:00
Rerumu
ce9421d549 Fix If emit 2022-06-12 04:27:16 -04:00
Rerumu
a379fb2e91 Fix BrIf reachability and simplify block adds 2022-06-12 04:27:16 -04:00
Rerumu
c4c0bf8deb Fix temporary alignment 2022-06-12 04:27:16 -04:00
Rerumu
6cdf793818 Fix else not pushing argument copy 2022-06-12 04:27:16 -04:00
Rerumu
954f133557 Move around start_else 2022-06-12 04:27:16 -04:00
Rerumu
32031c8c2c Refactor BrIf behavior 2022-06-12 04:27:16 -04:00
Rerumu
183db977f3 Refactor Return behavior 2022-06-12 04:27:10 -04:00
Rerumu
b8e40fe740 Rename Intermediate to FuncData 2022-06-10 23:35:25 -04:00
Rerumu
78aa47cdd6 Fix missing visit_statement call 2022-06-10 23:35:25 -04:00