summaryrefslogtreecommitdiff
path: root/test/memorygrowth.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-05-29 16:39:17 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-05-29 16:39:17 -0700
commitf33f1dbbee7b3f95d8437f1ee60c9075013858b6 (patch)
treef0f7a4bc5cd7d948f4285298b3b3930f30cc0185 /test/memorygrowth.fromasm.imprecise
parent1715b4a1ec845f1dd6b08f48a599f346beb0f758 (diff)
parent44aeb85b2fa2c743e2d0f7e00349f99cfcbc7639 (diff)
downloadbinaryen-f33f1dbbee7b3f95d8437f1ee60c9075013858b6.tar.gz
binaryen-f33f1dbbee7b3f95d8437f1ee60c9075013858b6.tar.bz2
binaryen-f33f1dbbee7b3f95d8437f1ee60c9075013858b6.zip
Merge pull request #550 from WebAssembly/dfe-nice
Duplicate function elimination
Diffstat (limited to 'test/memorygrowth.fromasm.imprecise')
-rw-r--r--test/memorygrowth.fromasm.imprecise40
1 files changed, 20 insertions, 20 deletions
diff --git a/test/memorygrowth.fromasm.imprecise b/test/memorygrowth.fromasm.imprecise
index 9e8d34b83..f2acc39d2 100644
--- a/test/memorygrowth.fromasm.imprecise
+++ b/test/memorygrowth.fromasm.imprecise
@@ -1598,7 +1598,7 @@
(set_local $27
(get_local $8)
)
- (set_local $32
+ (set_local $31
(get_local $8)
)
(set_local $8
@@ -1669,7 +1669,7 @@
(set_local $37
(get_local $13)
)
- (set_local $31
+ (set_local $32
(get_local $1)
)
(set_local $8
@@ -1708,7 +1708,7 @@
(set_local $37
(i32.const 0)
)
- (set_local $31
+ (set_local $32
(i32.const 0)
)
(set_local $8
@@ -1731,7 +1731,7 @@
(i32.const 0)
)
(i32.eq
- (get_local $31)
+ (get_local $32)
(i32.const 0)
)
)
@@ -1873,8 +1873,8 @@
(set_local $27
(get_local $0)
)
- (set_local $32
- (get_local $31)
+ (set_local $31
+ (get_local $32)
)
(set_local $8
(i32.const 90)
@@ -1885,7 +1885,7 @@
(get_local $36)
)
(set_local $10
- (get_local $31)
+ (get_local $32)
)
)
)
@@ -1925,7 +1925,7 @@
(set_local $1
(select
(get_local $27)
- (get_local $32)
+ (get_local $31)
(get_local $7)
)
)
@@ -1942,7 +1942,7 @@
(set_local $27
(get_local $7)
)
- (set_local $32
+ (set_local $31
(get_local $1)
)
(br $while-in$20)
@@ -1958,7 +1958,7 @@
(set_local $28
(get_local $6)
)
- (set_local $32
+ (set_local $31
(get_local $1)
)
)
@@ -9013,29 +9013,29 @@
(i32.load
(get_local $3)
)
- (set_local $2
+ (set_local $1
(i32.const 3)
)
- (set_local $1
+ (set_local $2
(i32.const -1)
)
)
)
- (set_local $2
+ (set_local $1
(i32.const 3)
)
)
(if
(i32.eq
- (get_local $2)
+ (get_local $1)
(i32.const 3)
)
(block
(if
(i32.lt_u
- (set_local $1
+ (set_local $2
(i32.load
- (set_local $2
+ (set_local $1
(i32.add
(get_local $0)
(i32.const 4)
@@ -9066,7 +9066,7 @@
)
(get_local $0)
(i32.sub
- (get_local $1)
+ (get_local $2)
(get_local $6)
)
(i32.const 1)
@@ -9089,15 +9089,15 @@
(i32.const 0)
)
(i32.store
- (get_local $2)
+ (get_local $1)
(i32.const 0)
)
- (set_local $1
+ (set_local $2
(i32.const 0)
)
)
)
- (get_local $1)
+ (get_local $2)
)
(func $jb (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(local $3 i32)