summaryrefslogtreecommitdiff
path: root/test/wasm2js/reinterpret.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/reinterpret.wast')
-rw-r--r--test/wasm2js/reinterpret.wast4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/wasm2js/reinterpret.wast b/test/wasm2js/reinterpret.wast
index d1431b368..9d46af8f7 100644
--- a/test/wasm2js/reinterpret.wast
+++ b/test/wasm2js/reinterpret.wast
@@ -2,9 +2,9 @@
(func $dummy)
(func (export "i32_roundtrip") (param $0 i32) (result i32)
- (i32.eq (i32.reinterpret/f32 (f32.reinterpret/i32 (get_local $0))) (get_local $0)))
+ (i32.eq (i32.reinterpret_f32 (f32.reinterpret_i32 (local.get $0))) (local.get $0)))
(func (export "i64_roundtrip") (param $0 i64) (result i32)
- (i64.eq (i64.reinterpret/f64 (f64.reinterpret/i64 (get_local $0))) (get_local $0)))
+ (i64.eq (i64.reinterpret_f64 (f64.reinterpret_i64 (local.get $0))) (local.get $0)))
)
(assert_return (invoke "i32_roundtrip" (i32.const 0))