summaryrefslogtreecommitdiff
path: root/test/passes/duplicate-function-elimination.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/duplicate-function-elimination.wast')
-rw-r--r--test/passes/duplicate-function-elimination.wast48
1 files changed, 24 insertions, 24 deletions
diff --git a/test/passes/duplicate-function-elimination.wast b/test/passes/duplicate-function-elimination.wast
index 843e812f9..f72ef542e 100644
--- a/test/passes/duplicate-function-elimination.wast
+++ b/test/passes/duplicate-function-elimination.wast
@@ -593,7 +593,7 @@
)
)
(drop
- (i32.load8_s offset=3 align=2
+ (i32.load16_s offset=3 align=2
(i32.const 0)
)
)
@@ -605,7 +605,7 @@
)
)
(drop
- (i32.load8_s offset=3 align=2
+ (i32.load16_s offset=3 align=2
(i32.const 0)
)
)
@@ -616,14 +616,14 @@
(type $0 (func))
(func $keep2 (type $0)
(drop
- (i32.load16_s offset=3
+ (i32.load offset=3
(i32.const 0)
)
)
)
(func $other (type $0)
(drop
- (i32.load8_s offset=3 align=2
+ (i32.load16_s offset=3 align=2
(i32.const 0)
)
)
@@ -634,14 +634,14 @@
(type $0 (func))
(func $keep2 (type $0)
(drop
- (i32.load8_s offset=3
+ (i32.load16_s offset=3
(i32.const 0)
)
)
)
(func $other (type $0)
(drop
- (i32.load8_s offset=3 align=2
+ (i32.load16_s offset=3 align=1
(i32.const 0)
)
)
@@ -652,14 +652,14 @@
(type $0 (func))
(func $keep2 (type $0)
(drop
- (i32.load8_s align=2
+ (i32.load16_s align=2
(i32.const 0)
)
)
)
(func $other (type $0)
(drop
- (i32.load8_s offset=3 align=2
+ (i32.load16_s offset=3 align=2
(i32.const 0)
)
)
@@ -670,14 +670,14 @@
(type $0 (func))
(func $keep2 (type $0)
(drop
- (i32.load8_s offset=3 align=2
+ (i32.load16_s offset=3 align=2
(i32.const 0)
)
)
)
(func $other (type $0)
(drop
- (i32.load8_s offset=3 align=2
+ (i32.load16_s offset=3 align=2
(i32.const 1)
)
)
@@ -688,14 +688,14 @@
(type $0 (func))
(func $keep2 (type $0)
(drop
- (i32.load8_u offset=3 align=2
+ (i32.load16_u offset=3 align=2
(i32.const 0)
)
)
)
(func $other (type $0)
(drop
- (i32.load8_s offset=3 align=2
+ (i32.load16_s offset=3 align=2
(i32.const 0)
)
)
@@ -709,7 +709,7 @@
(i32.const 0)
(i32.const 100)
)
- (i32.store8 offset=3 align=2
+ (i32.store16 offset=3 align=2
(i32.const 0)
(i32.const 100)
)
@@ -719,7 +719,7 @@
(i32.const 0)
(i32.const 100)
)
- (i32.store8 offset=3 align=2
+ (i32.store16 offset=3 align=2
(i32.const 0)
(i32.const 100)
)
@@ -729,13 +729,13 @@
(memory 10)
(type $0 (func))
(func $keep2 (type $0)
- (i32.store16 offset=3
+ (i32.store32 offset=3
(i32.const 0)
(i32.const 100)
)
)
(func $other (type $0)
- (i32.store8 offset=3 align=2
+ (i32.store16 offset=3 align=2
(i32.const 0)
(i32.const 100)
)
@@ -745,13 +745,13 @@
(memory 10)
(type $0 (func))
(func $keep2 (type $0)
- (i32.store8 offset=3
+ (i32.store16 offset=3
(i32.const 0)
(i32.const 100)
)
)
(func $other (type $0)
- (i32.store8 offset=3 align=2
+ (i32.store16 offset=3 align=1
(i32.const 0)
(i32.const 100)
)
@@ -761,13 +761,13 @@
(memory 10)
(type $0 (func))
(func $keep2 (type $0)
- (i32.store8 align=2
+ (i32.store16 align=2
(i32.const 0)
(i32.const 100)
)
)
(func $other (type $0)
- (i32.store8 offset=3 align=2
+ (i32.store16 offset=3 align=2
(i32.const 0)
(i32.const 100)
)
@@ -777,13 +777,13 @@
(memory 10)
(type $0 (func))
(func $keep2 (type $0)
- (i32.store8 offset=3 align=2
+ (i32.store16 offset=3 align=2
(i32.const 0)
(i32.const 100)
)
)
(func $other (type $0)
- (i32.store8 offset=3 align=2
+ (i32.store16 offset=3 align=2
(i32.const 1)
(i32.const 100)
)
@@ -793,13 +793,13 @@
(memory 10)
(type $0 (func))
(func $keep2 (type $0)
- (i32.store8 offset=3 align=2
+ (i32.store16 offset=3 align=2
(i32.const 0)
(i32.const 100)
)
)
(func $other (type $0)
- (i32.store8 offset=3 align=2
+ (i32.store16 offset=3 align=2
(i32.const 0)
(i32.const 101)
)