summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.fromasm
diff options
context:
space:
mode:
Diffstat (limited to 'test/emcc_hello_world.fromasm')
-rw-r--r--test/emcc_hello_world.fromasm15
1 files changed, 6 insertions, 9 deletions
diff --git a/test/emcc_hello_world.fromasm b/test/emcc_hello_world.fromasm
index 16af1a160..0af69c9fe 100644
--- a/test/emcc_hello_world.fromasm
+++ b/test/emcc_hello_world.fromasm
@@ -579,17 +579,14 @@
(get_local $0)
)
)
- (set_local $0
- (if (result i32)
- (tee_local $2
- (i32.eqz
- (i32.const 0)
- )
- )
- (get_local $1)
- (get_local $1)
+ (set_local $2
+ (i32.eqz
+ (i32.const 0)
)
)
+ (set_local $0
+ (get_local $1)
+ )
)
(block
(set_local $0