mirror of
https://github.com/open-goal/jak-project
synced 2026-08-21 23:00:45 -04:00
[Decompiler] Expression 5 (#218)
* new method of inline-array-class * up to new array * wip side effect stuff * prepare for pop barrier stuff * add pop barrier * add local vars hack to compiler * fix bug, make sort work * add test for array * bug fixes * another bug fix * refactoring env variable print for casts * more tweaks * updates * final cleanup * codacy fixes
This commit is contained in:
@@ -804,11 +804,11 @@ TEST_F(FormRegressionTest, NewMethod) {
|
||||
" (set! a1-2 (*.ui gp-0 a1-1))\n"
|
||||
" (set! a2-2 (+ a2-1 a1-2))\n"
|
||||
" (set! a1-3 v1-1)\n" // size!
|
||||
" (set! v0-0 (call!))\n"
|
||||
" (set! v0-0 (call! a0-0 a1-3 a2-2))\n"
|
||||
" (nonzero? v0-0)\n" // only if we got memory...
|
||||
" )\n"
|
||||
" (s.w! v0-0 gp-0)\n" // store size
|
||||
" (s.w! (+ v0-0 4) gp-0)\n"
|
||||
" (set! (-> v0-0 length) gp-0)\n" // store size
|
||||
" (set! (-> v0-0 allocated-length) gp-0)\n"
|
||||
" )"
|
||||
" (ret-value v0-0))\n";
|
||||
test_no_expr(func, type, expected, false, "inline-array-class");
|
||||
|
||||
Reference in New Issue
Block a user