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

Fix wasm gc for {#Bool}, add (unreachable) statements to be sure that all hnf cases are handled

parent d52e866c
Pipeline #43730 passed with stages
in 12 minutes and 12 seconds
......@@ -915,7 +915,7 @@
(i32.eq (local.get $d) (i32.const 82))
(then
(local.set $n (i32.add (local.get $n) (i32.add (i32.const 24)
(i32.shl (local.get $size) (i32.const 6))))) ;; 3+3
(i32.and (i32.add (local.get $size) (i32.const 7)) (i32.const -8)))))
(br $update-refs)
)
)
......@@ -1015,6 +1015,8 @@
(br $update-refs)
)
)
(unreachable)
)
)
......@@ -1309,6 +1311,8 @@
(return (i32.add (local.get $hp) (i32.add (i32.shl (local.get $arity) (i32.const 3)) (i32.const 8))))
)
)
(unreachable)
)
)
......
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