Implement locals and foldl, which is the direction we should have been folding to not reverse the params/locals anyway

This commit is contained in:
Nathan Braswell
2021-07-20 23:36:03 -04:00
parent e271feed24
commit f740dd07e2
3 changed files with 16 additions and 6 deletions

View File

@@ -9,7 +9,7 @@
(local $tmp1 i32)
(local $tmp2 i32)
(i32.const 11)
(local.get $num)
(local.get $tmp2)
i32.add
(i32.add (local.get $num))
)