summaryrefslogtreecommitdiff
path: root/test/passes
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes')
-rw-r--r--test/passes/flatten.bin.txt2
-rw-r--r--test/passes/flatten_dfo_O3_enable-threads.txt2
-rw-r--r--test/passes/flatten_simplify-locals-nonesting_dfo_O3.txt2
-rw-r--r--test/passes/fpcast-emu.txt2
-rw-r--r--test/passes/legalize-js-interface-minimally.txt2
-rw-r--r--test/passes/optimize-instructions_all-features.txt4
-rw-r--r--test/passes/precompute_all-features.txt2
-rw-r--r--test/passes/remove-non-js-ops.txt4
-rw-r--r--test/passes/simplify-locals_all-features.txt6
-rw-r--r--test/passes/simplify-locals_all-features_disable-exception-handling.txt4
10 files changed, 15 insertions, 15 deletions
diff --git a/test/passes/flatten.bin.txt b/test/passes/flatten.bin.txt
index bc4d93cb7..d8c38d526 100644
--- a/test/passes/flatten.bin.txt
+++ b/test/passes/flatten.bin.txt
@@ -7,8 +7,8 @@
(type $none_=>_f32 (func (result f32)))
(type $f32_=>_f32 (func (param f32) (result f32)))
(type $none_=>_f64 (func (result f64)))
- (type $i64_f32_f64_i32_i32_=>_f64 (func (param i64 f32 f64 i32 i32) (result f64)))
(type $f64_=>_f64 (func (param f64) (result f64)))
+ (type $i64_f32_f64_i32_i32_=>_f64 (func (param i64 f32 f64 i32 i32) (result f64)))
(export "type-local-i32" (func $0))
(export "type-local-i64" (func $1))
(export "type-local-f32" (func $2))
diff --git a/test/passes/flatten_dfo_O3_enable-threads.txt b/test/passes/flatten_dfo_O3_enable-threads.txt
index 0491bd1b3..5fa616788 100644
--- a/test/passes/flatten_dfo_O3_enable-threads.txt
+++ b/test/passes/flatten_dfo_O3_enable-threads.txt
@@ -2,8 +2,8 @@
(type $none_=>_none (func))
(type $none_=>_i32 (func (result i32)))
(type $i32_i32_=>_i32 (func (param i32 i32) (result i32)))
- (type $i64_i32_=>_f64 (func (param i64 i32) (result f64)))
(type $f64_=>_f64 (func (param f64) (result f64)))
+ (type $i64_i32_=>_f64 (func (param i64 i32) (result f64)))
(memory $0 (shared 1 1))
(export "one" (func $0))
(export "two" (func $1))
diff --git a/test/passes/flatten_simplify-locals-nonesting_dfo_O3.txt b/test/passes/flatten_simplify-locals-nonesting_dfo_O3.txt
index 79b1396b1..27ad5e239 100644
--- a/test/passes/flatten_simplify-locals-nonesting_dfo_O3.txt
+++ b/test/passes/flatten_simplify-locals-nonesting_dfo_O3.txt
@@ -1,8 +1,8 @@
(module
(type $none_=>_none (func))
(type $i64_=>_none (func (param i64)))
- (type $i32_f64_f64_=>_i32 (func (param i32 f64 f64) (result i32)))
(type $f64_=>_i32 (func (param f64) (result i32)))
+ (type $i32_f64_f64_=>_i32 (func (param i32 f64 f64) (result i32)))
(type $none_=>_f64 (func (result f64)))
(export "if-select" (func $0))
(export "unreachable-body-update-zext" (func $1))
diff --git a/test/passes/fpcast-emu.txt b/test/passes/fpcast-emu.txt
index 59e1e2574..5969fc63a 100644
--- a/test/passes/fpcast-emu.txt
+++ b/test/passes/fpcast-emu.txt
@@ -235,8 +235,8 @@
)
)
(module
- (type $i64_i64_i64_i64_i64_i64_i64_i64_i64_i64_i64_i64_i64_i64_i64_i64_=>_i64 (func (param i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64) (result i64)))
(type $f32_=>_i64 (func (param f32) (result i64)))
+ (type $i64_i64_i64_i64_i64_i64_i64_i64_i64_i64_i64_i64_i64_i64_i64_i64_=>_i64 (func (param i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64) (result i64)))
(table $0 42 42 funcref)
(global $global$0 (mut i32) (i32.const 10))
(export "func_106" (func $0))
diff --git a/test/passes/legalize-js-interface-minimally.txt b/test/passes/legalize-js-interface-minimally.txt
index 2d88b2f8e..f39a2ce84 100644
--- a/test/passes/legalize-js-interface-minimally.txt
+++ b/test/passes/legalize-js-interface-minimally.txt
@@ -1,8 +1,8 @@
(module
(type $none_=>_i64 (func (result i64)))
(type $i32_=>_none (func (param i32)))
- (type $i32_i32_=>_none (func (param i32 i32)))
(type $i64_=>_none (func (param i64)))
+ (type $i32_i32_=>_none (func (param i32 i32)))
(type $none_=>_i32 (func (result i32)))
(import "env" "imported" (func $imported (result i64)))
(import "env" "setTempRet0" (func $setTempRet0 (param i32)))
diff --git a/test/passes/optimize-instructions_all-features.txt b/test/passes/optimize-instructions_all-features.txt
index d00dd2b74..5a2ede97a 100644
--- a/test/passes/optimize-instructions_all-features.txt
+++ b/test/passes/optimize-instructions_all-features.txt
@@ -11,12 +11,12 @@
(type $none_=>_i64 (func (result i64)))
(type $i64_=>_i64 (func (param i64) (result i64)))
(type $i32_i64_f32_=>_none (func (param i32 i64 f32)))
+ (type $f32_=>_none (func (param f32)))
+ (type $f64_=>_none (func (param f64)))
(type $i32_i32_i32_f64_=>_none (func (param i32 i32 i32 f64)))
(type $i32_i32_f64_f64_=>_none (func (param i32 i32 f64 f64)))
(type $i32_i64_f64_i32_=>_none (func (param i32 i64 f64 i32)))
- (type $f32_=>_none (func (param f32)))
(type $f32_f64_=>_none (func (param f32 f64)))
- (type $f64_=>_none (func (param f64)))
(type $f64_f32_=>_none (func (param f64 f32)))
(type $f64_f64_f32_f32_=>_none (func (param f64 f64 f32 f32)))
(type $none_=>_f64 (func (result f64)))
diff --git a/test/passes/precompute_all-features.txt b/test/passes/precompute_all-features.txt
index 89f40adf5..68d7dce15 100644
--- a/test/passes/precompute_all-features.txt
+++ b/test/passes/precompute_all-features.txt
@@ -4,8 +4,8 @@
(type $none_=>_f64 (func (result f64)))
(type $none_=>_v128 (func (result v128)))
(type $i32_=>_none (func (param i32)))
- (type $none_=>_i32_i64 (func (result i32 i64)))
(type $none_=>_externref (func (result externref)))
+ (type $none_=>_i32_i64 (func (result i32 i64)))
(memory $0 512 512)
(data (i32.const 0) "passive")
(global $global i32 (i32.const 1))
diff --git a/test/passes/remove-non-js-ops.txt b/test/passes/remove-non-js-ops.txt
index cd32fb11c..96bb3e6f0 100644
--- a/test/passes/remove-non-js-ops.txt
+++ b/test/passes/remove-non-js-ops.txt
@@ -6,10 +6,10 @@
(type $f64_=>_f64 (func (param f64) (result f64)))
(type $i32_i32_i32_=>_none (func (param i32 i32 i32)))
(type $i32_=>_none (func (param i32)))
- (type $i32_i32_=>_none (func (param i32 i32)))
- (type $i32_i32_i32_i32_=>_none (func (param i32 i32 i32 i32)))
(type $f32_=>_none (func (param f32)))
(type $f64_=>_none (func (param f64)))
+ (type $i32_i32_=>_none (func (param i32 i32)))
+ (type $i32_i32_i32_i32_=>_none (func (param i32 i32 i32 i32)))
(type $none_=>_i32 (func (result i32)))
(type $i32_i32_i32_i32_=>_i32 (func (param i32 i32 i32 i32) (result i32)))
(type $i32_i32_i32_i32_i32_i32_=>_i32 (func (param i32 i32 i32 i32 i32 i32) (result i32)))
diff --git a/test/passes/simplify-locals_all-features.txt b/test/passes/simplify-locals_all-features.txt
index a9f056136..2cc323a57 100644
--- a/test/passes/simplify-locals_all-features.txt
+++ b/test/passes/simplify-locals_all-features.txt
@@ -6,9 +6,9 @@
(type $i32_i32_i32_=>_i32 (func (param i32 i32 i32) (result i32)))
(type $i32_i32_i32_i32_=>_i32 (func (param i32 i32 i32 i32) (result i32)))
(type $i32_=>_none (func (param i32)))
- (type $i32_i32_=>_none (func (param i32 i32)))
(type $i64_=>_none (func (param i64)))
(type $f32_=>_none (func (param f32)))
+ (type $i32_i32_=>_none (func (param i32 i32)))
(type $i32_i32_=>_i32 (func (param i32 i32) (result i32)))
(type $i32_i32_i32_i32_i32_=>_i32 (func (param i32 i32 i32 i32 i32) (result i32)))
(type $i32_f64_f64_f32_i32_=>_f64 (func (param i32 f64 f64 f32 i32) (result f64)))
@@ -1127,8 +1127,8 @@
(type $i32_=>_i32 (func (param i32) (result i32)))
(type $i32_i32_i32_i32_i32_=>_i32 (func (param i32 i32 i32 i32 i32) (result i32)))
(type $i32_=>_none (func (param i32)))
- (type $i32_i32_=>_none (func (param i32 i32)))
(type $f32_=>_none (func (param f32)))
+ (type $i32_i32_=>_none (func (param i32 i32)))
(type $i32_i32_=>_i32 (func (param i32 i32) (result i32)))
(type $none_=>_f64 (func (result f64)))
(type $i32_i32_=>_f64 (func (param i32 i32) (result f64)))
@@ -1896,8 +1896,8 @@
)
(module
(type $none_=>_none (func))
- (type $i32_exnref_=>_none (func (param i32 exnref)))
(type $exnref_=>_none (func (param exnref)))
+ (type $i32_exnref_=>_none (func (param i32 exnref)))
(type $none_=>_i32 (func (result i32)))
(type $none_=>_exnref (func (result exnref)))
(event $event$0 (attr 0) (param))
diff --git a/test/passes/simplify-locals_all-features_disable-exception-handling.txt b/test/passes/simplify-locals_all-features_disable-exception-handling.txt
index 7215bfadf..e3ff658a7 100644
--- a/test/passes/simplify-locals_all-features_disable-exception-handling.txt
+++ b/test/passes/simplify-locals_all-features_disable-exception-handling.txt
@@ -6,9 +6,9 @@
(type $i32_i32_i32_=>_i32 (func (param i32 i32 i32) (result i32)))
(type $i32_i32_i32_i32_=>_i32 (func (param i32 i32 i32 i32) (result i32)))
(type $i32_=>_none (func (param i32)))
- (type $i32_i32_=>_none (func (param i32 i32)))
(type $i64_=>_none (func (param i64)))
(type $f32_=>_none (func (param f32)))
+ (type $i32_i32_=>_none (func (param i32 i32)))
(type $i32_i32_=>_i32 (func (param i32 i32) (result i32)))
(type $i32_i32_i32_i32_i32_=>_i32 (func (param i32 i32 i32 i32 i32) (result i32)))
(type $i32_f64_f64_f32_i32_=>_f64 (func (param i32 f64 f64 f32 i32) (result f64)))
@@ -1121,8 +1121,8 @@
(type $i32_=>_i32 (func (param i32) (result i32)))
(type $i32_i32_i32_i32_i32_=>_i32 (func (param i32 i32 i32 i32 i32) (result i32)))
(type $i32_=>_none (func (param i32)))
- (type $i32_i32_=>_none (func (param i32 i32)))
(type $f32_=>_none (func (param f32)))
+ (type $i32_i32_=>_none (func (param i32 i32)))
(type $i32_i32_=>_i32 (func (param i32 i32) (result i32)))
(type $none_=>_f64 (func (result f64)))
(type $i32_i32_=>_f64 (func (param i32 i32) (result f64)))