handle raw instructions properly

This commit is contained in:
Ilya Rezvov
2018-02-23 14:52:03 -08:00
parent bf67333ec1
commit 31735c93aa
2 changed files with 84 additions and 17 deletions
+2 -2
View File
@@ -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)
)
;)
)