summaryrefslogtreecommitdiff
path: root/test/passes
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes')
-rw-r--r--test/passes/precompute-propagate_all-features.txt6
-rw-r--r--test/passes/precompute-propagate_all-features.wast6
-rw-r--r--test/passes/precompute_all-features.txt2
-rw-r--r--test/passes/precompute_all-features.wast12
-rw-r--r--test/passes/remove-unused-brs_enable-multivalue.txt4
-rw-r--r--test/passes/remove-unused-brs_enable-multivalue.wast4
-rw-r--r--test/passes/rse_all-features.txt4
-rw-r--r--test/passes/rse_all-features.wast4
-rw-r--r--test/passes/strip-target-features_roundtrip_print-features_all-features.txt2
-rw-r--r--test/passes/strip-target-features_roundtrip_print-features_all-features.wast4
10 files changed, 24 insertions, 24 deletions
diff --git a/test/passes/precompute-propagate_all-features.txt b/test/passes/precompute-propagate_all-features.txt
index e0d27312f..6fb67825a 100644
--- a/test/passes/precompute-propagate_all-features.txt
+++ b/test/passes/precompute-propagate_all-features.txt
@@ -274,18 +274,18 @@
(local $i32s (i32 i32))
(local $i64s (i64 i64))
(local.set $i32s
- (tuple.make
+ (tuple.make 2
(i32.const 42)
(i32.const 0)
)
)
(local.set $i64s
- (tuple.make
+ (tuple.make 2
(i64.const 42)
(i64.const 0)
)
)
- (tuple.make
+ (tuple.make 2
(i32.const 42)
(i64.const 0)
)
diff --git a/test/passes/precompute-propagate_all-features.wast b/test/passes/precompute-propagate_all-features.wast
index 59a06a860..962877cdb 100644
--- a/test/passes/precompute-propagate_all-features.wast
+++ b/test/passes/precompute-propagate_all-features.wast
@@ -184,18 +184,18 @@
(local $i32s (i32 i32))
(local $i64s (i64 i64))
(local.set $i32s
- (tuple.make
+ (tuple.make 2
(i32.const 42)
(i32.const 0)
)
)
(local.set $i64s
- (tuple.make
+ (tuple.make 2
(i64.const 42)
(i64.const 0)
)
)
- (tuple.make
+ (tuple.make 2
(tuple.extract 0
(local.get $i32s)
)
diff --git a/test/passes/precompute_all-features.txt b/test/passes/precompute_all-features.txt
index 13c33872e..e5cdbb209 100644
--- a/test/passes/precompute_all-features.txt
+++ b/test/passes/precompute_all-features.txt
@@ -245,7 +245,7 @@
)
)
(func $tuple-precompute (type $5) (result i32 i64)
- (tuple.make
+ (tuple.make 2
(i32.const 42)
(i64.const 42)
)
diff --git a/test/passes/precompute_all-features.wast b/test/passes/precompute_all-features.wast
index 9fb444cb5..fad213a17 100644
--- a/test/passes/precompute_all-features.wast
+++ b/test/passes/precompute_all-features.wast
@@ -49,15 +49,15 @@
)
)
(drop
- (tuple.make
+ (tuple.make 2
(tuple.extract 0
- (tuple.make
+ (tuple.make 2
(i32.const 42)
(i32.const 0)
)
)
(tuple.extract 1
- (tuple.make
+ (tuple.make 2
(i64.const 0)
(i64.const 42)
)
@@ -354,15 +354,15 @@
)
)
(func $tuple-precompute (result i32 i64)
- (tuple.make
+ (tuple.make 2
(tuple.extract 0
- (tuple.make
+ (tuple.make 2
(i32.const 42)
(i32.const 0)
)
)
(tuple.extract 1
- (tuple.make
+ (tuple.make 2
(i64.const 0)
(i64.const 42)
)
diff --git a/test/passes/remove-unused-brs_enable-multivalue.txt b/test/passes/remove-unused-brs_enable-multivalue.txt
index b85f1df8c..e03ca15a7 100644
--- a/test/passes/remove-unused-brs_enable-multivalue.txt
+++ b/test/passes/remove-unused-brs_enable-multivalue.txt
@@ -197,14 +197,14 @@
(i32.const 1)
(block $topmost (type $5) (result i32 i64)
(block $block1 (type $5) (result i32 i64)
- (tuple.make
+ (tuple.make 2
(i32.const 12)
(i64.const 12)
)
)
)
(block $block3 (type $5) (result i32 i64)
- (tuple.make
+ (tuple.make 2
(i32.const 27)
(i64.const 27)
)
diff --git a/test/passes/remove-unused-brs_enable-multivalue.wast b/test/passes/remove-unused-brs_enable-multivalue.wast
index ae8878e00..493ead96e 100644
--- a/test/passes/remove-unused-brs_enable-multivalue.wast
+++ b/test/passes/remove-unused-brs_enable-multivalue.wast
@@ -195,13 +195,13 @@
(if (result i32 i64)
(i32.const 1)
(block $block1 (result i32 i64)
- (tuple.make
+ (tuple.make 2
(i32.const 12)
(i64.const 12)
)
)
(block $block3 (result i32 i64)
- (tuple.make
+ (tuple.make 2
(i32.const 27)
(i64.const 27)
)
diff --git a/test/passes/rse_all-features.txt b/test/passes/rse_all-features.txt
index 5555ec8c2..ce047df81 100644
--- a/test/passes/rse_all-features.txt
+++ b/test/passes/rse_all-features.txt
@@ -51,13 +51,13 @@
(func $tuple-value (type $0)
(local $x (i32 i64))
(local.set $x
- (tuple.make
+ (tuple.make 2
(i32.const 42)
(i64.const 42)
)
)
(drop
- (tuple.make
+ (tuple.make 2
(i32.const 42)
(i64.const 42)
)
diff --git a/test/passes/rse_all-features.wast b/test/passes/rse_all-features.wast
index 8700c232c..7ac7a0579 100644
--- a/test/passes/rse_all-features.wast
+++ b/test/passes/rse_all-features.wast
@@ -23,10 +23,10 @@
(func $tuple-value
(local $x (i32 i64))
(local.set $x
- (tuple.make (i32.const 42) (i64.const 42))
+ (tuple.make 2 (i32.const 42) (i64.const 42))
)
(local.set $x
- (tuple.make (i32.const 42) (i64.const 42))
+ (tuple.make 2 (i32.const 42) (i64.const 42))
)
)
(func $unreach
diff --git a/test/passes/strip-target-features_roundtrip_print-features_all-features.txt b/test/passes/strip-target-features_roundtrip_print-features_all-features.txt
index f52a92856..a15210d05 100644
--- a/test/passes/strip-target-features_roundtrip_print-features_all-features.txt
+++ b/test/passes/strip-target-features_roundtrip_print-features_all-features.txt
@@ -18,7 +18,7 @@
(module
(type $0 (func (result v128 externref)))
(func $foo (type $0) (result v128 externref)
- (tuple.make
+ (tuple.make 2
(v128.const i32x4 0x00000000 0x00000000 0x00000000 0x00000000)
(ref.null noextern)
)
diff --git a/test/passes/strip-target-features_roundtrip_print-features_all-features.wast b/test/passes/strip-target-features_roundtrip_print-features_all-features.wast
index f073de7a4..fca710453 100644
--- a/test/passes/strip-target-features_roundtrip_print-features_all-features.wast
+++ b/test/passes/strip-target-features_roundtrip_print-features_all-features.wast
@@ -2,8 +2,8 @@
;; even if the target features section is stripped first
(module
- (func $foo (result v128 externref )
- (tuple.make
+ (func $foo (result v128 externref)
+ (tuple.make 2
(v128.const i32x4 0 0 0 0)
(ref.null extern)
)