diff options
Diffstat (limited to 'test/lld/init.wat.out')
-rw-r--r-- | test/lld/init.wat.out | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/lld/init.wat.out b/test/lld/init.wat.out index 1ff306e3a..44b81ff14 100644 --- a/test/lld/init.wat.out +++ b/test/lld/init.wat.out @@ -16,23 +16,23 @@ (export "stackAlloc" (func $stackAlloc)) (export "stackRestore" (func $stackRestore)) (export "__growWasmMemory" (func $__growWasmMemory)) - (func $__wasm_call_ctors (; 0 ;) + (func $__wasm_call_ctors (call $init_x) (call $init_y) ) - (func $init_x (; 1 ;) + (func $init_x (i32.store offset=568 (i32.const 0) (i32.const 14) ) ) - (func $init_y (; 2 ;) + (func $init_y (i32.store offset=572 (i32.const 0) (i32.const 144) ) ) - (func $__original_main (; 3 ;) (result i32) + (func $__original_main (result i32) (i32.add (i32.load offset=568 (i32.const 0) @@ -42,13 +42,13 @@ ) ) ) - (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 @@ -63,12 +63,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) ) |