summaryrefslogtreecommitdiff
path: root/test/lit/passes
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/passes')
-rw-r--r--test/lit/passes/O3_inline-functions-with-loops_flexible-inline-max-function-size=30.wast4
-rw-r--r--test/lit/passes/O4_disable-bulk-memory.wast4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/lit/passes/O3_inline-functions-with-loops_flexible-inline-max-function-size=30.wast b/test/lit/passes/O3_inline-functions-with-loops_flexible-inline-max-function-size=30.wast
index 6c9a598bb..e0045579d 100644
--- a/test/lit/passes/O3_inline-functions-with-loops_flexible-inline-max-function-size=30.wast
+++ b/test/lit/passes/O3_inline-functions-with-loops_flexible-inline-max-function-size=30.wast
@@ -8,6 +8,8 @@
(type $t0 (func (param i32) (result i32)))
;; CHECK: (memory $memory 0)
+ ;; CHECK: (export "memory" (memory $memory))
+
;; CHECK: (export "fib" (func $fib))
;; CHECK: (export "looped" (func $looped))
@@ -20,8 +22,6 @@
;; CHECK: (export "t3" (func $t3))
- ;; CHECK: (export "memory" (memory $memory))
-
;; CHECK: (func $fib (; has Stack IR ;) (param $0 i32) (result i32)
;; CHECK-NEXT: (if
;; CHECK-NEXT: (i32.le_s
diff --git a/test/lit/passes/O4_disable-bulk-memory.wast b/test/lit/passes/O4_disable-bulk-memory.wast
index 4a6293d65..8200df5a3 100644
--- a/test/lit/passes/O4_disable-bulk-memory.wast
+++ b/test/lit/passes/O4_disable-bulk-memory.wast
@@ -80,8 +80,8 @@
(global $global$6 i32 (i32.const 100))
;; CHECK: (elem (i32.const 0) $null)
- ;; CHECK: (export "memory" (memory $0))
- (export "memory" (memory $0))
+ ;; CHECK: (export "memory" (memory $1))
+ (export "memory" (memory $1))
;; CHECK: (export "table" (table $0))
(export "table" (table $0))
;; CHECK: (export "init" (func $assembly/index/init))