summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-08-07 10:38:04 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-09-07 09:54:50 -0700
commit9507066763db50de86db4d1ffead766f23d63116 (patch)
tree97df9bf32bdb0584c91d24eeb26fc348884d5084 /test
parentf9020a0bdb3912a65f3f051b3b841fad412d2f13 (diff)
downloadbinaryen-9507066763db50de86db4d1ffead766f23d63116.tar.gz
binaryen-9507066763db50de86db4d1ffead766f23d63116.tar.bz2
binaryen-9507066763db50de86db4d1ffead766f23d63116.zip
remove lower-if-else, as it's no longer needed
Diffstat (limited to 'test')
-rw-r--r--test/passes/lower-if-else.txt42
-rw-r--r--test/passes/lower-if-else.wast29
2 files changed, 0 insertions, 71 deletions
diff --git a/test/passes/lower-if-else.txt b/test/passes/lower-if-else.txt
deleted file mode 100644
index 93dd6d916..000000000
--- a/test/passes/lower-if-else.txt
+++ /dev/null
@@ -1,42 +0,0 @@
-(module
- (memory 256 256)
- (type $0 (func))
- (func $ifs (type $0)
- (block $block0
- (if
- (i32.const 0)
- (i32.const 1)
- )
- (block $L0
- (if
- (i32.const 0)
- (br $L0
- (i32.const 1)
- )
- )
- (i32.const 2)
- )
- (block $L1
- (if
- (i32.const 4)
- (br $L1
- (i32.const 5)
- )
- )
- (i32.const 6)
- )
- (i32.eq
- (block $L2
- (if
- (i32.const 4)
- (br $L2
- (i32.const 5)
- )
- )
- (i32.const 6)
- )
- (i32.const 177)
- )
- )
- )
-)
diff --git a/test/passes/lower-if-else.wast b/test/passes/lower-if-else.wast
deleted file mode 100644
index 138a8a206..000000000
--- a/test/passes/lower-if-else.wast
+++ /dev/null
@@ -1,29 +0,0 @@
-(module
- (memory 256 256)
- (func $ifs
- (block
- (if
- (i32.const 0)
- (i32.const 1)
- )
- (if_else
- (i32.const 0)
- (i32.const 1)
- (i32.const 2)
- )
- (if_else
- (i32.const 4)
- (i32.const 5)
- (i32.const 6)
- )
- (i32.eq
- (if_else
- (i32.const 4)
- (i32.const 5)
- (i32.const 6)
- )
- (i32.const 177)
- )
- )
- )
-)