diff options
author | Sam Clegg <sbc@chromium.org> | 2018-11-08 14:22:08 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-08 14:22:08 -0800 |
commit | ba1cf64bc926c7fd9e5b679d69800a47a9b0210b (patch) | |
tree | 82b007a8c3c41acf4c8ebfcee9152ef0a66702d3 /test/merge/dylib.wasm.combined.finalized | |
parent | 43d1e70cedfa02c1c2f5f33aaaf6920d269a4083 (diff) | |
download | binaryen-ba1cf64bc926c7fd9e5b679d69800a47a9b0210b.tar.gz binaryen-ba1cf64bc926c7fd9e5b679d69800a47a9b0210b.tar.bz2 binaryen-ba1cf64bc926c7fd9e5b679d69800a47a9b0210b.zip |
Rename tableBase/memoryBase to __table_base/__memory_base (#1731)
Diffstat (limited to 'test/merge/dylib.wasm.combined.finalized')
-rw-r--r-- | test/merge/dylib.wasm.combined.finalized | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/test/merge/dylib.wasm.combined.finalized b/test/merge/dylib.wasm.combined.finalized index 4e82b433b..66a947fc7 100644 --- a/test/merge/dylib.wasm.combined.finalized +++ b/test/merge/dylib.wasm.combined.finalized @@ -7,12 +7,16 @@ (type $1$0 (func (result i32))) (type $2$0 (func)) (import "env" "memory" (memory $2 256)) - (data (i32.const 1024) "hello, world!\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00") + (data (get_global $gimport$0) "hello, world!\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00") (import "env" "table" (table $timport$3 8 anyfunc)) (import "env" "memoryBase" (global $gimport$0 i32)) (import "env" "tableBase" (global $gimport$4 i32)) + (import "env" "__memory_base" (global $__memory_base i32)) + (import "env" "__table_base" (global $__table_base i32)) (import "env" "memoryBase" (global $gimport$0$0 i32)) (import "env" "tableBase" (global $gimport$4$0 i32)) + (import "env" "__memory_base" (global $__memory_base$0 i32)) + (import "env" "__table_base" (global $__table_base$0 i32)) (import "env" "_puts" (func $import$1 (param i32) (result i32))) (global $global$0 (mut i32) (i32.const 0)) (global $global$1 (mut i32) (i32.const 0)) @@ -29,7 +33,7 @@ (block $label$2 (result i32) (drop (call $import$1 - (i32.const 1024) + (get_global $gimport$0) ) ) (i32.const 0) @@ -47,7 +51,7 @@ (block $label$2 (set_global $global$0 (i32.add - (i32.const 1024) + (get_global $gimport$0) (i32.const 16) ) ) @@ -81,10 +85,7 @@ (block $label$1 (block $label$2 (set_global $global$0$0 - (i32.add - (i32.const 1024) - (i32.const 48) - ) + (get_global $gimport$0$0) ) (set_global $global$1$0 (i32.add |