diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2019-01-07 13:24:58 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-07 13:24:58 -0800 |
commit | 7d94900ded8e2e5ce8ef8ee2687528531d8f2a97 (patch) | |
tree | d8bba13d306b0c5ecba384384e602e6cccc83015 /test/passes/trap-mode-js.wast | |
parent | 6f91af190effd7b8a5969314dd4fb3d2ec540524 (diff) | |
download | binaryen-7d94900ded8e2e5ce8ef8ee2687528531d8f2a97.tar.gz binaryen-7d94900ded8e2e5ce8ef8ee2687528531d8f2a97.tar.bz2 binaryen-7d94900ded8e2e5ce8ef8ee2687528531d8f2a97.zip |
Massive renaming (#1855)
Automated renaming according to
https://github.com/WebAssembly/spec/issues/884#issuecomment-426433329.
Diffstat (limited to 'test/passes/trap-mode-js.wast')
-rw-r--r-- | test/passes/trap-mode-js.wast | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/test/passes/trap-mode-js.wast b/test/passes/trap-mode-js.wast index 5a44e50ec..b62165ef5 100644 --- a/test/passes/trap-mode-js.wast +++ b/test/passes/trap-mode-js.wast @@ -1,26 +1,26 @@ (module (func $test_div (param $0 i32) (param $1 i64) - (drop (i32.div_s (get_local $0) (get_local $0))) - (drop (i32.div_u (get_local $0) (get_local $0))) - (drop (i64.div_s (get_local $1) (get_local $1))) - (drop (i64.div_u (get_local $1) (get_local $1))) + (drop (i32.div_s (local.get $0) (local.get $0))) + (drop (i32.div_u (local.get $0) (local.get $0))) + (drop (i64.div_s (local.get $1) (local.get $1))) + (drop (i64.div_u (local.get $1) (local.get $1))) ) (func $test_rem (param $0 i32) (param $1 i64) - (drop (i32.rem_s (get_local $0) (get_local $0))) - (drop (i32.rem_u (get_local $0) (get_local $0))) - (drop (i64.rem_s (get_local $1) (get_local $1))) - (drop (i64.rem_u (get_local $1) (get_local $1))) + (drop (i32.rem_s (local.get $0) (local.get $0))) + (drop (i32.rem_u (local.get $0) (local.get $0))) + (drop (i64.rem_s (local.get $1) (local.get $1))) + (drop (i64.rem_u (local.get $1) (local.get $1))) ) (func $test_f32_to_int (param $0 f32) - (drop (i32.trunc_s/f32 (get_local $0))) - (drop (i32.trunc_u/f32 (get_local $0))) - (drop (i64.trunc_s/f32 (get_local $0))) - (drop (i64.trunc_u/f32 (get_local $0))) + (drop (i32.trunc_f32_s (local.get $0))) + (drop (i32.trunc_f32_u (local.get $0))) + (drop (i64.trunc_f32_s (local.get $0))) + (drop (i64.trunc_f32_u (local.get $0))) ) (func $test_f64_to_int (param $0 f64) - (drop (i32.trunc_s/f64 (get_local $0))) - (drop (i32.trunc_u/f64 (get_local $0))) - (drop (i64.trunc_s/f64 (get_local $0))) - (drop (i64.trunc_u/f64 (get_local $0))) + (drop (i32.trunc_f64_s (local.get $0))) + (drop (i32.trunc_f64_u (local.get $0))) + (drop (i64.trunc_f64_s (local.get $0))) + (drop (i64.trunc_f64_u (local.get $0))) ) ) |