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.opt | |
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.opt')
-rw-r--r-- | test/merge/dylib.wasm.combined.finalized.opt | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/test/merge/dylib.wasm.combined.finalized.opt b/test/merge/dylib.wasm.combined.finalized.opt index 4598e194a..ae855f2fa 100644 --- a/test/merge/dylib.wasm.combined.finalized.opt +++ b/test/merge/dylib.wasm.combined.finalized.opt @@ -3,8 +3,10 @@ (type $2 (func (result i32))) (type $3 (func)) (import "env" "memory" (memory $2 256)) - (data (i32.const 1024) "hello, world!") + (data (get_global $gimport$0) "hello, world!") (import "env" "table" (table $timport$3 8 anyfunc)) + (import "env" "memoryBase" (global $gimport$0 i32)) + (import "env" "memoryBase" (global $gimport$0$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)) @@ -21,7 +23,7 @@ (block $label$2 (result i32) (drop (call $import$1 - (i32.const 1024) + (get_global $gimport$0) ) ) (i32.const 0) @@ -36,7 +38,10 @@ (block $label$1 (block $label$2 (set_global $global$0 - (i32.const 1040) + (i32.add + (get_global $gimport$0) + (i32.const 16) + ) ) (set_global $global$1 (i32.add @@ -66,7 +71,7 @@ (block $label$1 (block $label$2 (set_global $global$0$0 - (i32.const 1072) + (get_global $gimport$0$0) ) (set_global $global$1$0 (i32.add |