forked from GitHub/haskell-wasm
handle raw instructions properly
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
(module
|
||||
;; Auxiliary definition
|
||||
(func $dummy)
|
||||
|
||||
(func (export "empty") (param i32)
|
||||
(if (get_local 0) (then))
|
||||
(if (get_local 0) (then) (else))
|
||||
@@ -25,7 +24,7 @@
|
||||
(else (call $dummy) (call $dummy) (i32.const 9))
|
||||
)
|
||||
)
|
||||
|
||||
(;
|
||||
(func (export "nested") (param i32 i32) (result i32)
|
||||
(if (result i32) (get_local 0)
|
||||
(then
|
||||
@@ -129,4 +128,5 @@
|
||||
)
|
||||
(get_local 1)
|
||||
)
|
||||
;)
|
||||
)
|
||||
Reference in New Issue
Block a user