summaryrefslogtreecommitdiff
path: root/test/lit/wasm-split
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/wasm-split')
-rw-r--r--test/lit/wasm-split/export-name-already-exists.wast4
-rw-r--r--test/lit/wasm-split/merge-profiles.wast4
-rw-r--r--test/lit/wasm-split/mismatched-hashes.wast4
-rw-r--r--test/lit/wasm-split/print-profile.wast4
4 files changed, 8 insertions, 8 deletions
diff --git a/test/lit/wasm-split/export-name-already-exists.wast b/test/lit/wasm-split/export-name-already-exists.wast
index 83951795a..a83055da1 100644
--- a/test/lit/wasm-split/export-name-already-exists.wast
+++ b/test/lit/wasm-split/export-name-already-exists.wast
@@ -4,6 +4,6 @@
;; CHECK: error: Export foo already exists.
(module
- (memory 0 0)
- (export "foo" (memory 0 0))
+ (memory $m 0 0)
+ (export "foo" (memory $m))
)
diff --git a/test/lit/wasm-split/merge-profiles.wast b/test/lit/wasm-split/merge-profiles.wast
index 2d09fefaa..1bd9c8a4a 100644
--- a/test/lit/wasm-split/merge-profiles.wast
+++ b/test/lit/wasm-split/merge-profiles.wast
@@ -22,8 +22,8 @@
;; SPLIT-NEXT: Splitting out functions: qux{{$}}
(module
- (memory 0 0)
- (export "memory" (memory 0 0))
+ (memory $m 0 0)
+ (export "memory" (memory $m))
(export "foo" (func $foo))
(export "bar" (func $bar))
(export "baz" (func $baz))
diff --git a/test/lit/wasm-split/mismatched-hashes.wast b/test/lit/wasm-split/mismatched-hashes.wast
index 347fb1746..8f2bd69fe 100644
--- a/test/lit/wasm-split/mismatched-hashes.wast
+++ b/test/lit/wasm-split/mismatched-hashes.wast
@@ -19,6 +19,6 @@
;; RUN: wasm-split %s --profile=%t.prof -o1 %t.1.wasm -o2 %t.2.wasm
(module
- (memory 0 0)
- (export "memory" (memory 0 0))
+ (memory $m 0 0)
+ (export "memory" (memory $m))
)
diff --git a/test/lit/wasm-split/print-profile.wast b/test/lit/wasm-split/print-profile.wast
index cea701629..ec37858bd 100644
--- a/test/lit/wasm-split/print-profile.wast
+++ b/test/lit/wasm-split/print-profile.wast
@@ -15,8 +15,8 @@
;; UNESCAPED: - bar(double[3])
(module
- (memory 0 0)
- (export "memory" (memory 0 0))
+ (memory $m 0 0)
+ (export "memory" (memory $m))
(export "foo" (func $foo))
(export "bar" (func $bar\28double\5b3\5d\29))
(func $foo