diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2019-07-19 23:56:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-19 23:56:11 -0700 |
commit | aed3d6ce85ce5eb3d53f2c1eb948b7ae916cc4b7 (patch) | |
tree | 13488bb2eda5657d7cb440cacacab4369b7fda1e /test | |
parent | 72c52ea7d4eb61b95cf8a5164947cb760fe42e9c (diff) | |
download | binaryen-aed3d6ce85ce5eb3d53f2c1eb948b7ae916cc4b7.tar.gz binaryen-aed3d6ce85ce5eb3d53f2c1eb948b7ae916cc4b7.tar.bz2 binaryen-aed3d6ce85ce5eb3d53f2c1eb948b7ae916cc4b7.zip |
Revert "Remove bulk memory instructions refering to active segments (#2235)" (#2244)
This reverts commit 72c52ea7d4eb61b95cf8a5164947cb760fe42e9c, which was causing test failures after it merged.
Diffstat (limited to 'test')
-rw-r--r-- | test/passes/memory-packing.txt (renamed from test/passes/memory-packing_all-features.txt) | 27 | ||||
-rw-r--r-- | test/passes/memory-packing.wast (renamed from test/passes/memory-packing_all-features.wast) | 21 |
2 files changed, 1 insertions, 47 deletions
diff --git a/test/passes/memory-packing_all-features.txt b/test/passes/memory-packing.txt index bf04ae91b..9805375f1 100644 --- a/test/passes/memory-packing_all-features.txt +++ b/test/passes/memory-packing.txt @@ -18,30 +18,3 @@ (import "env" "memory" (memory $0 2048 2048)) (import "env" "memoryBase" (global $memoryBase i32)) ) -(module - (type $FUNCSIG$v (func)) - (memory $0 1 1) - (func $foo (; 0 ;) (type $FUNCSIG$v) - (block - (drop - (i32.const 0) - ) - (drop - (i32.const 0) - ) - (drop - (i32.const 0) - ) - (unreachable) - ) - (unreachable) - ) - (func $bar (; 1 ;) (type $FUNCSIG$v) - (drop - (loop $loop-in (result i32) - (unreachable) - (i32.const 42) - ) - ) - ) -) diff --git a/test/passes/memory-packing_all-features.wast b/test/passes/memory-packing.wast index e43bd0314..6cdd453d1 100644 --- a/test/passes/memory-packing_all-features.wast +++ b/test/passes/memory-packing.wast @@ -17,23 +17,4 @@ (import "env" "memoryBase" (global $memoryBase i32)) (data (i32.const 4066) "") ;; empty ) -(module - (memory $0 1 1) - (data (i32.const 0) "") - (func $foo - (memory.init 0 - (i32.const 0) - (i32.const 0) - (i32.const 0) - ) - (data.drop 0) - ) - (func $bar - (drop - (loop (result i32) - (data.drop 0) - (i32.const 42) - ) - ) - ) -) + |