summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/wasm-only.fromasm4
-rw-r--r--test/wasm-only.fromasm.imprecise4
-rw-r--r--test/wasm-only.fromasm.imprecise.no-opts4
-rw-r--r--test/wasm-only.fromasm.no-opts4
4 files changed, 12 insertions, 4 deletions
diff --git a/test/wasm-only.fromasm b/test/wasm-only.fromasm
index e8f8cfc79..26d6cde4f 100644
--- a/test/wasm-only.fromasm
+++ b/test/wasm-only.fromasm
@@ -290,7 +290,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)
)
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)
)
diff --git a/test/wasm-only.fromasm.imprecise.no-opts b/test/wasm-only.fromasm.imprecise.no-opts
index 90a5eeccd..d9490bf9b 100644
--- a/test/wasm-only.fromasm.imprecise.no-opts
+++ b/test/wasm-only.fromasm.imprecise.no-opts
@@ -613,7 +613,9 @@
(local $$9 i64)
(local $$10 i64)
(if
- (get_local $$6)
+ (i32.wrap/i64
+ (get_local $$6)
+ )
(block
(set_local $$9
(call $call2
diff --git a/test/wasm-only.fromasm.no-opts b/test/wasm-only.fromasm.no-opts
index 1ea6753ef..1959a2937 100644
--- a/test/wasm-only.fromasm.no-opts
+++ b/test/wasm-only.fromasm.no-opts
@@ -661,7 +661,9 @@
(local $$9 i64)
(local $$10 i64)
(if
- (get_local $$6)
+ (i32.wrap/i64
+ (get_local $$6)
+ )
(block
(set_local $$9
(call $call2