diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-09-16 11:18:04 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-09-16 15:14:04 -0700 |
commit | 444d7f66182c091b2e207a7bc842309f0925e228 (patch) | |
tree | 327f4d437e3f3b2fd97462e13f3e79ea74616d4f /test/passes/simplify-locals.wast | |
parent | 7292ef9c863a0766c697cc0a77516447ff652820 (diff) | |
download | binaryen-444d7f66182c091b2e207a7bc842309f0925e228.tar.gz binaryen-444d7f66182c091b2e207a7bc842309f0925e228.tar.bz2 binaryen-444d7f66182c091b2e207a7bc842309f0925e228.zip |
call_import changes: no more call_import, shared index space with functions
Diffstat (limited to 'test/passes/simplify-locals.wast')
-rw-r--r-- | test/passes/simplify-locals.wast | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/test/passes/simplify-locals.wast b/test/passes/simplify-locals.wast index b703613d8..4fa345770 100644 --- a/test/passes/simplify-locals.wast +++ b/test/passes/simplify-locals.wast @@ -125,7 +125,7 @@ (set_local $b (i32.const 10) ) - (call_import $waka) + (call $waka) (drop (get_local $a) ) @@ -180,22 +180,22 @@ ) (block $block3 (set_local $a - (call_import $waka_int) + (call $waka_int) ) (drop (get_local $a) ) - (call_import $waka) + (call $waka) (set_local $a - (call_import $waka_int) + (call $waka_int) ) - (call_import $waka) + (call $waka) (drop (get_local $a) ) - (call_import $waka) + (call $waka) (set_local $a - (call_import $waka_int) + (call $waka_int) ) (drop (i32.load @@ -205,9 +205,9 @@ (drop (get_local $a) ) - (call_import $waka) + (call $waka) (set_local $a - (call_import $waka_int) + (call $waka_int) ) (i32.store (i32.const 1) @@ -216,7 +216,7 @@ (drop (get_local $a) ) - (call_import $waka) + (call $waka) (set_local $a (i32.load (i32.const 100) @@ -225,7 +225,7 @@ (drop (get_local $a) ) - (call_import $waka) + (call $waka) (set_local $a (i32.load (i32.const 101) @@ -239,17 +239,17 @@ (drop (get_local $a) ) - (call_import $waka) + (call $waka) (set_local $a (i32.load (i32.const 102) ) ) - (call_import $waka) + (call $waka) (drop (get_local $a) ) - (call_import $waka) + (call $waka) (set_local $a (i32.load (i32.const 103) @@ -262,7 +262,7 @@ (drop (get_local $a) ) - (call_import $waka) + (call $waka) (set_local $a (block (block @@ -280,7 +280,7 @@ (drop (get_local $a) ) - (call_import $waka) + (call $waka) (set_local $a (block (block @@ -295,11 +295,11 @@ (get_local $6) ) ) - (call_import $waka) + (call $waka) (drop (get_local $a) ) - (call_import $waka) + (call $waka) (set_local $a (block (block @@ -322,7 +322,7 @@ (drop (get_local $a) ) - (call_import $waka) + (call $waka) (set_local $a (block (block @@ -344,7 +344,7 @@ (drop (get_local $a) ) - (call_import $waka) + (call $waka) ) (block $out-of-block (set_local $a @@ -550,7 +550,7 @@ ) ) (set_local $$4$0 - (call_import $_i64Subtract + (call $_i64Subtract (i32.xor (get_local $$1$0) (get_local $$a$0) @@ -569,10 +569,10 @@ ) ) (drop - (call_import $___udivmoddi4 + (call $___udivmoddi4 (get_local $$4$0) (get_local $$4$1) - (call_import $_i64Subtract + (call $_i64Subtract (i32.xor (get_local $$2$0) (get_local $$b$0) @@ -591,7 +591,7 @@ ) ) (set_local $$10$0 - (call_import $_i64Subtract + (call $_i64Subtract (i32.xor (i32.load (get_local $$rem) |