summaryrefslogtreecommitdiff
path: root/test/lld
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2021-03-12 15:04:04 -0800
committerGitHub <noreply@github.com>2021-03-12 23:04:04 +0000
commit81b6067b7b1edf50495dd3acf1465a62aec094e8 (patch)
tree79a437733d46c565846546d8690d7b809325828e /test/lld
parent99ae87fb9e5aa7a43cd7ac2a07ee5df681601784 (diff)
downloadbinaryen-81b6067b7b1edf50495dd3acf1465a62aec094e8.tar.gz
binaryen-81b6067b7b1edf50495dd3acf1465a62aec094e8.tar.bz2
binaryen-81b6067b7b1edf50495dd3acf1465a62aec094e8.zip
Remove old AsmConstWalker code (#3685)
Diffstat (limited to 'test/lld')
-rw-r--r--test/lld/em_asm_main_thread.wat2
-rw-r--r--test/lld/em_asm_main_thread.wat.out4
2 files changed, 5 insertions, 1 deletions
diff --git a/test/lld/em_asm_main_thread.wat b/test/lld/em_asm_main_thread.wat
index 0435e9be0..65f530d69 100644
--- a/test/lld/em_asm_main_thread.wat
+++ b/test/lld/em_asm_main_thread.wat
@@ -12,6 +12,8 @@
(import "env" "emscripten_asm_const_int_sync_on_main_thread" (func $emscripten_asm_const_int_sync_on_main_thread (param i32 i32 i32) (result i32)))
(memory $0 2)
(data (i32.const 568) "{ Module.print(\"Hello world\"); }\00{ return $0 + $1; }\00{ Module.print(\"Got \" + $0); }\00")
+ (global (export "__start_em_asm") i32 (i32.const 568))
+ (global (export "__stop_em_asm") i32 (i32.const 652))
(table $0 1 1 funcref)
(global $global$0 (mut i32) (i32.const 66192))
(global $global$1 i32 (i32.const 66192))
diff --git a/test/lld/em_asm_main_thread.wat.out b/test/lld/em_asm_main_thread.wat.out
index 8fc99e081..91a022dbc 100644
--- a/test/lld/em_asm_main_thread.wat.out
+++ b/test/lld/em_asm_main_thread.wat.out
@@ -8,8 +8,10 @@
(type $0 (func (param i32 i32 i32) (result i32)))
(import "env" "emscripten_asm_const_int_sync_on_main_thread" (func $emscripten_asm_const_int_sync_on_main_thread (param i32 i32 i32) (result i32)))
(memory $0 2)
- (data (i32.const 568) "{ Module.print(\"Hello world\"); }\00{ return $0 + $1; }\00{ Module.print(\"Got \" + $0); }\00")
+ (data (i32.const 568) "")
(table $0 1 1 funcref)
+ (global $0 i32 (i32.const 568))
+ (global $1 i32 (i32.const 652))
(global $global$0 (mut i32) (i32.const 66192))
(global $global$1 i32 (i32.const 66192))
(global $global$2 i32 (i32.const 652))