diff options
author | Sam Clegg <sbc@chromium.org> | 2022-08-04 16:07:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-04 23:07:08 +0000 |
commit | 9534e6927c41f4a6a5d06d58d00c271c9f066e9a (patch) | |
tree | 38bf1a3d763a5d4c2be409f8911b0c7f8d5269f2 /test/lit/wasm-emscripten-finalize/em_asm.wat | |
parent | e5c8bf665054bbaeab79506c562684f34ef376db (diff) | |
download | binaryen-9534e6927c41f4a6a5d06d58d00c271c9f066e9a.tar.gz binaryen-9534e6927c41f4a6a5d06d58d00c271c9f066e9a.tar.bz2 binaryen-9534e6927c41f4a6a5d06d58d00c271c9f066e9a.zip |
Cleanup em_asm/em_js strings as part of PostEmscripten (#4871)
Rather than doing it as a side effect of dumping the metadata in
wasm-emscripten-finalize.
Diffstat (limited to 'test/lit/wasm-emscripten-finalize/em_asm.wat')
-rw-r--r-- | test/lit/wasm-emscripten-finalize/em_asm.wat | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/lit/wasm-emscripten-finalize/em_asm.wat b/test/lit/wasm-emscripten-finalize/em_asm.wat index 43dbfb9ae..195c4b9af 100644 --- a/test/lit/wasm-emscripten-finalize/em_asm.wat +++ b/test/lit/wasm-emscripten-finalize/em_asm.wat @@ -6,18 +6,11 @@ ;; Check that the data segment that contains only EM_ASM strings resized to ;; zero, and that the string are extracted into the metadata. -;; CHECK: (data (i32.const 100) "normal data") -;; CHECK-NEXT: (data (i32.const 512) "") -;; CHECK-NEXT: (data (i32.const 1024) "more data") - ;; CHECK: "asmConsts": { ;; CHECK-NEXT: "512": "{ console.log('JS hello'); }", ;; CHECK-NEXT: "541": "{ console.log('hello again'); }" ;; CHECK-NEXT: }, -;; Check that the exports are removed -;; CHECK-NOT: export - (module (memory 1 1) (global (export "__start_em_asm") i32 (i32.const 512)) |