diff options
author | Sam Clegg <sbc@chromium.org> | 2020-10-01 11:27:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-01 11:27:02 -0700 |
commit | 7549fa413b6e3a8eba1f8cfba1c24f01692cfb5b (patch) | |
tree | ebd2ac0946012eebdc2db33b7bc03641db432f40 /test/lld/hello_world.passive.wat.out | |
parent | e1a843b15d9939eaa258261f5fed67ea9c493a65 (diff) | |
download | binaryen-7549fa413b6e3a8eba1f8cfba1c24f01692cfb5b.tar.gz binaryen-7549fa413b6e3a8eba1f8cfba1c24f01692cfb5b.tar.bz2 binaryen-7549fa413b6e3a8eba1f8cfba1c24f01692cfb5b.zip |
Stop generating __growWasmMemory (#3180)
This depends on https://github.com/emscripten-core/emscripten/pull/12391
Diffstat (limited to 'test/lld/hello_world.passive.wat.out')
-rw-r--r-- | test/lld/hello_world.passive.wat.out | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/test/lld/hello_world.passive.wat.out b/test/lld/hello_world.passive.wat.out index ab580104f..4b6794485 100644 --- a/test/lld/hello_world.passive.wat.out +++ b/test/lld/hello_world.passive.wat.out @@ -1,7 +1,7 @@ (module (type $none_=>_none (func)) - (type $i32_=>_i32 (func (param i32) (result i32))) (type $none_=>_i32 (func (result i32))) + (type $i32_=>_i32 (func (param i32) (result i32))) (type $i32_i32_=>_i32 (func (param i32 i32) (result i32))) (import "env" "puts" (func $puts (param i32) (result i32))) (memory $0 2) @@ -15,7 +15,6 @@ (export "__heap_base" (global $global$1)) (export "__data_end" (global $global$2)) (export "main" (func $main)) - (export "__growWasmMemory" (func $__growWasmMemory)) (func $__wasm_call_ctors (call $__wasm_init_memory) ) @@ -37,11 +36,6 @@ (func $main (param $0 i32) (param $1 i32) (result i32) (call $__original_main) ) - (func $__growWasmMemory (param $newSize i32) (result i32) - (memory.grow - (local.get $newSize) - ) - ) ) (; --BEGIN METADATA -- @@ -58,8 +52,7 @@ ], "exports": [ "__wasm_call_ctors", - "main", - "__growWasmMemory" + "main" ], "namedGlobals": { "__heap_base" : "66128", |