diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2018-11-19 21:44:17 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-19 21:44:17 -0800 |
commit | 801ff52bd0e7696ff105efd2a46932fa5f076708 (patch) | |
tree | 6fb4df31f67fde8168c7d20ba9924c2a5a734d74 /test/wasm2js | |
parent | ec38a5118f055709cd21a8db873d4d26691571c6 (diff) | |
download | binaryen-801ff52bd0e7696ff105efd2a46932fa5f076708.tar.gz binaryen-801ff52bd0e7696ff105efd2a46932fa5f076708.tar.bz2 binaryen-801ff52bd0e7696ff105efd2a46932fa5f076708.zip |
Reject all nonexistent instructions in sexp format (#1756)
Diffstat (limited to 'test/wasm2js')
-rw-r--r-- | test/wasm2js/reinterpret.wast | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/wasm2js/reinterpret.wast b/test/wasm2js/reinterpret.wast index 816fb90a3..d1431b368 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.reinterpret (get_local $0))) (get_local $0))) + (i32.eq (i32.reinterpret/f32 (f32.reinterpret/i32 (get_local $0))) (get_local $0))) (func (export "i64_roundtrip") (param $0 i64) (result i32) - (i64.eq (i64.reinterpret (f64.reinterpret (get_local $0))) (get_local $0))) + (i64.eq (i64.reinterpret/f64 (f64.reinterpret/i64 (get_local $0))) (get_local $0))) ) (assert_return (invoke "i32_roundtrip" (i32.const 0)) |