diff options
Diffstat (limited to 'test/lld/hello_world.passive.wat.out')
-rw-r--r-- | test/lld/hello_world.passive.wat.out | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/lld/hello_world.passive.wat.out b/test/lld/hello_world.passive.wat.out index e811b43e0..172d05fe1 100644 --- a/test/lld/hello_world.passive.wat.out +++ b/test/lld/hello_world.passive.wat.out @@ -20,17 +20,17 @@ (export "stackAlloc" (func $stackAlloc)) (export "stackRestore" (func $stackRestore)) (export "__growWasmMemory" (func $__growWasmMemory)) - (func $__wasm_call_ctors (; 1 ;) + (func $__wasm_call_ctors (call $__wasm_init_memory) ) - (func $__wasm_init_memory (; 2 ;) + (func $__wasm_init_memory (memory.init 0 (i32.const 568) (i32.const 0) (i32.const 14) ) ) - (func $__original_main (; 3 ;) (result i32) + (func $__original_main (result i32) (drop (call $puts (i32.const 568) @@ -38,13 +38,13 @@ ) (i32.const 0) ) - (func $main (; 4 ;) (param $0 i32) (param $1 i32) (result i32) + (func $main (param $0 i32) (param $1 i32) (result i32) (call $__original_main) ) - (func $stackSave (; 5 ;) (result i32) + (func $stackSave (result i32) (global.get $global$0) ) - (func $stackAlloc (; 6 ;) (param $0 i32) (result i32) + (func $stackAlloc (param $0 i32) (result i32) (local $1 i32) (global.set $global$0 (local.tee $1 @@ -59,12 +59,12 @@ ) (local.get $1) ) - (func $stackRestore (; 7 ;) (param $0 i32) + (func $stackRestore (param $0 i32) (global.set $global$0 (local.get $0) ) ) - (func $__growWasmMemory (; 8 ;) (param $newSize i32) (result i32) + (func $__growWasmMemory (param $newSize i32) (result i32) (memory.grow (local.get $newSize) ) |