diff options
author | Alon Zakai <alonzakai@gmail.com> | 2019-01-08 14:59:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-08 14:59:51 -0800 |
commit | af5adae23e7cfcc2c933d72142a3d58576af769d (patch) | |
tree | 3c37dfdcfac20fb61f95ffedeb653dfa249e12fd /test | |
parent | 34fbbb3dde9f17a83ed63264d1165ebb7a66ddc7 (diff) | |
download | binaryen-af5adae23e7cfcc2c933d72142a3d58576af769d.tar.gz binaryen-af5adae23e7cfcc2c933d72142a3d58576af769d.tar.bz2 binaryen-af5adae23e7cfcc2c933d72142a3d58576af769d.zip |
Remove interp and fix tests (#1858)
Updates tests to the latest notation changes, and also remove wasm.js (see kripken/emscripten#7831 ) as we'd need to either rebuild it or update it for the new notation as well, and it's not used at this point.
Diffstat (limited to 'test')
-rw-r--r-- | test/passes/code-folding.txt | 8 | ||||
-rw-r--r-- | test/passes/code-folding.wast | 16 |
2 files changed, 12 insertions, 12 deletions
diff --git a/test/passes/code-folding.txt b/test/passes/code-folding.txt index f879217aa..4b512940c 100644 --- a/test/passes/code-folding.txt +++ b/test/passes/code-folding.txt @@ -157,7 +157,7 @@ (i32.const 0) ) (if - (get_global $global$0) + (global.get $global$0) (block $block (br $folding-inner0) ) @@ -165,7 +165,7 @@ (unreachable) ) (if - (get_global $global$0) + (global.get $global$0) (block $block1 (br $folding-inner0) ) @@ -173,9 +173,9 @@ (unreachable) ) ) - (set_global $global$0 + (global.set $global$0 (i32.sub - (get_global $global$0) + (global.get $global$0) (i32.const 1) ) ) diff --git a/test/passes/code-folding.wast b/test/passes/code-folding.wast index 2034f1452..a813f44a6 100644 --- a/test/passes/code-folding.wast +++ b/test/passes/code-folding.wast @@ -158,9 +158,9 @@ (br_if $label$1 (i32.const 1) ) - (set_global $global$0 + (global.set $global$0 (i32.sub - (get_global $global$0) + (global.get $global$0) (i32.const 1) ) ) @@ -171,11 +171,11 @@ (i32.const 0) ) (if - (get_global $global$0) + (global.get $global$0) (block - (set_global $global$0 + (global.set $global$0 (i32.sub - (get_global $global$0) + (global.get $global$0) (i32.const 1) ) ) @@ -185,11 +185,11 @@ (unreachable) ) (if - (get_global $global$0) + (global.get $global$0) (block - (set_global $global$0 + (global.set $global$0 (i32.sub - (get_global $global$0) + (global.get $global$0) (i32.const 1) ) ) |