summaryrefslogtreecommitdiff
path: root/test/wasm-only.fromasm.imprecise
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm-only.fromasm.imprecise')
-rw-r--r--test/wasm-only.fromasm.imprecise4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/wasm-only.fromasm.imprecise b/test/wasm-only.fromasm.imprecise
index b27eb3f9b..ec74eb35b 100644
--- a/test/wasm-only.fromasm.imprecise
+++ b/test/wasm-only.fromasm.imprecise
@@ -218,7 +218,9 @@
)
(func $ifValue64 (param $0 i64) (param $1 i64) (result i64)
(if i64
- (get_local $1)
+ (i32.wrap/i64
+ (get_local $1)
+ )
(call $call2
(get_local $0)
)