Verified Commit d52e866c authored by Camil Staps's avatar Camil Staps 🙂

Remove unused variable from wasm gc

parent 2b1ef5e5
......@@ -782,7 +782,6 @@
)
(func (export "gc") (param $asp i32)
(local $old i32)
(local $new i32)
(local $n i32)
(local $d i32)
......@@ -792,15 +791,7 @@
(call $gc-start)
(if
(global.get $in-first-semispace)
(then
(local.set $old (global.get $start-heap))
(local.set $new (global.get $half-heap)))
(else
(local.set $old (global.get $half-heap))
(local.set $new (global.get $start-heap)))
)
(local.set $new (select (global.get $half-heap) (global.get $start-heap) (global.get $in-first-semispace)))
;; copy A stack pointers
(block $end-copy-asp
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment