summaryrefslogtreecommitdiff
path: root/test/lit/binary/name-overlap.test
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2024-07-31 10:16:36 -0700
committerGitHub <noreply@github.com>2024-07-31 10:16:36 -0700
commitc68978114ccb12a6cef8ba5651ef3e0deb03f879 (patch)
treeae0c802c882bd4ebc2f50bd63df2d14252dc3f81 /test/lit/binary/name-overlap.test
parente6bbff7846cad9daf178b6917d78abe5cfcd5771 (diff)
downloadbinaryen-c68978114ccb12a6cef8ba5651ef3e0deb03f879.tar.gz
binaryen-c68978114ccb12a6cef8ba5651ef3e0deb03f879.tar.bz2
binaryen-c68978114ccb12a6cef8ba5651ef3e0deb03f879.zip
Use Names::getValidNameGivenExisting in binary reading (#6793)
We had a TODO to use it once Names was optimized, which it has been. The Names version is also far faster. When building https://github.com/JetBrains/kotlinconf-app it saves 70 seconds(!).
Diffstat (limited to 'test/lit/binary/name-overlap.test')
-rw-r--r--test/lit/binary/name-overlap.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/lit/binary/name-overlap.test b/test/lit/binary/name-overlap.test
index 7f5318737..f5c47e50a 100644
--- a/test/lit/binary/name-overlap.test
+++ b/test/lit/binary/name-overlap.test
@@ -17,6 +17,7 @@
;; that we leave the name from the names section as it is, and only adjust the
;; temp name.)
-;; CHECK: (global $global$1 i32 (i32.const 1))
-;; CHECK-NEXT: (global $global$1.1 i32 (i32.const 0))
+;; CHECK: (global $global$1 i32 (i32.const 1))
+
+;; CHECK: (global $global$1_1 i32 (i32.const 0))