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/lld/recursive.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/lld/recursive.wast')
-rw-r--r-- | test/lld/recursive.wast | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/test/lld/recursive.wast b/test/lld/recursive.wast index c6dbdd359..f3501b39b 100644 --- a/test/lld/recursive.wast +++ b/test/lld/recursive.wast @@ -6,7 +6,7 @@ (global $global$0 (mut i32) (i32.const 66128)) (global $global$1 i32 (i32.const 66128)) (global $global$2 i32 (i32.const 587)) - (table 1 1 anyfunc) + (table 1 1 funcref) (memory $0 2) (data (i32.const 568) "%d:%d\n\00Result: %d\n\00") (export "memory" (memory $0)) @@ -16,51 +16,51 @@ (export "__data_end" (global $global$2)) (func $foo (; 1 ;) (type $0) (param $var$0 i32) (param $var$1 i32) (result i32) (local $var$2 i32) - (set_global $global$0 - (tee_local $var$2 + (global.set $global$0 + (local.tee $var$2 (i32.sub - (get_global $global$0) + (global.get $global$0) (i32.const 16) ) ) ) (i32.store offset=4 - (get_local $var$2) - (get_local $var$1) + (local.get $var$2) + (local.get $var$1) ) (i32.store - (get_local $var$2) - (get_local $var$0) + (local.get $var$2) + (local.get $var$0) ) (drop (call $printf (i32.const 568) - (get_local $var$2) + (local.get $var$2) ) ) - (set_global $global$0 + (global.set $global$0 (i32.add - (get_local $var$2) + (local.get $var$2) (i32.const 16) ) ) (i32.add - (get_local $var$1) - (get_local $var$0) + (local.get $var$1) + (local.get $var$0) ) ) (func $main (; 2 ;) (type $1) (result i32) (local $var$0 i32) - (set_global $global$0 - (tee_local $var$0 + (global.set $global$0 + (local.tee $var$0 (i32.sub - (get_global $global$0) + (global.get $global$0) (i32.const 16) ) ) ) (i32.store - (get_local $var$0) + (local.get $var$0) (call $foo (i32.const 1) (i32.const 2) @@ -69,12 +69,12 @@ (drop (call $printf (i32.const 575) - (get_local $var$0) + (local.get $var$0) ) ) - (set_global $global$0 + (global.set $global$0 (i32.add - (get_local $var$0) + (local.get $var$0) (i32.const 16) ) ) |