diff options
Diffstat (limited to 'test/wasm2js/emscripten.wast')
-rw-r--r-- | test/wasm2js/emscripten.wast | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/wasm2js/emscripten.wast b/test/wasm2js/emscripten.wast index 82bf73548..dd11ee4b2 100644 --- a/test/wasm2js/emscripten.wast +++ b/test/wasm2js/emscripten.wast @@ -10,6 +10,7 @@ (global $global$0 (mut i32) (i32.const 5243904)) (export "main" (func $main)) (export "other" (func $other)) + (export "__growWasmMemory" (func $__growWasmMemory)) (func $main (drop (call $syscall$6 (i32.const 1) (i32.const 2))) (drop (call $syscall$54 (i32.const 3) (i32.const 4))) @@ -28,5 +29,10 @@ (func $bar (nop) ) + (func $__growWasmMemory (param $0 i32) (result i32) + (grow_memory + (local.get $0) + ) + ) ) |