diff options
Diffstat (limited to 'test/lld/recursive.wast.out')
-rw-r--r-- | test/lld/recursive.wast.out | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/test/lld/recursive.wast.out b/test/lld/recursive.wast.out index 7ad93a97b..1c1180e1c 100644 --- a/test/lld/recursive.wast.out +++ b/test/lld/recursive.wast.out @@ -7,8 +7,8 @@ (import "env" "printf" (func $printf (param i32 i32) (result i32))) (memory $0 2) (data (i32.const 568) "%d:%d\n\00Result: %d\n\00") - (table $0 1 1 anyfunc) - (global $global$0 (mut i32) (get_global $stack$init)) + (table $0 1 1 funcref) + (global $global$0 (mut i32) (global.get $stack$init)) (global $global$1 i32 (i32.const 66128)) (global $global$2 i32 (i32.const 587)) (export "memory" (memory $0)) @@ -22,51 +22,51 @@ (export "__growWasmMemory" (func $__growWasmMemory)) (func $foo (; 1 ;) (type $0) (param $var$0 i32) (param $var$1 i32) (result i32) (local $var$2 i32) - (set_global $global$0 - (tee_local $var$2 + (global.set $global$0 + (local.tee $var$2 (i32.sub - (get_global $global$0) + (global.get $global$0) (i32.const 16) ) ) ) (i32.store offset=4 - (get_local $var$2) - (get_local $var$1) + (local.get $var$2) + (local.get $var$1) ) (i32.store - (get_local $var$2) - (get_local $var$0) + (local.get $var$2) + (local.get $var$0) ) (drop (call $printf (i32.const 568) - (get_local $var$2) + (local.get $var$2) ) ) - (set_global $global$0 + (global.set $global$0 (i32.add - (get_local $var$2) + (local.get $var$2) (i32.const 16) ) ) (i32.add - (get_local $var$1) - (get_local $var$0) + (local.get $var$1) + (local.get $var$0) ) ) (func $main (; 2 ;) (type $1) (result i32) (local $var$0 i32) - (set_global $global$0 - (tee_local $var$0 + (global.set $global$0 + (local.tee $var$0 (i32.sub - (get_global $global$0) + (global.get $global$0) (i32.const 16) ) ) ) (i32.store - (get_local $var$0) + (local.get $var$0) (call $foo (i32.const 1) (i32.const 2) @@ -75,12 +75,12 @@ (drop (call $printf (i32.const 575) - (get_local $var$0) + (local.get $var$0) ) ) - (set_global $global$0 + (global.set $global$0 (i32.add - (get_local $var$0) + (local.get $var$0) (i32.const 16) ) ) @@ -90,31 +90,31 @@ (nop) ) (func $stackSave (; 4 ;) (result i32) - (get_global $global$0) + (global.get $global$0) ) (func $stackAlloc (; 5 ;) (param $0 i32) (result i32) (local $1 i32) - (set_global $global$0 - (tee_local $1 + (global.set $global$0 + (local.tee $1 (i32.and (i32.sub - (get_global $global$0) - (get_local $0) + (global.get $global$0) + (local.get $0) ) (i32.const -16) ) ) ) - (get_local $1) + (local.get $1) ) (func $stackRestore (; 6 ;) (param $0 i32) - (set_global $global$0 - (get_local $0) + (global.set $global$0 + (local.get $0) ) ) (func $__growWasmMemory (; 7 ;) (param $newSize i32) (result i32) (grow_memory - (get_local $newSize) + (local.get $newSize) ) ) ) |