summaryrefslogtreecommitdiff
path: root/test/lld/basic_safe_stack.wat.out
diff options
context:
space:
mode:
Diffstat (limited to 'test/lld/basic_safe_stack.wat.out')
-rw-r--r--test/lld/basic_safe_stack.wat.out11
1 files changed, 5 insertions, 6 deletions
diff --git a/test/lld/basic_safe_stack.wat.out b/test/lld/basic_safe_stack.wat.out
index 15f108a3e..09c440ece 100644
--- a/test/lld/basic_safe_stack.wat.out
+++ b/test/lld/basic_safe_stack.wat.out
@@ -5,8 +5,7 @@
(type $i32_=>_i32 (func (param i32) (result i32)))
(import "env" "__handle_stack_overflow" (func $__handle_stack_overflow))
(memory $0 2)
- (table $0 1 1 funcref)
- (global $global$0 (mut i32) (i32.const 66112))
+ (global $__stack_pointer (mut i32) (i32.const 66112))
(global $__stack_base (mut i32) (i32.const 0))
(global $__stack_limit (mut i32) (i32.const 0))
(export "memory" (memory $0))
@@ -35,7 +34,7 @@
)
(call $__handle_stack_overflow)
)
- (global.set $global$0
+ (global.set $__stack_pointer
(local.get $1)
)
)
@@ -51,7 +50,7 @@
(local.tee $1
(i32.and
(i32.sub
- (global.get $global$0)
+ (global.get $__stack_pointer)
(local.get $0)
)
(i32.const -16)
@@ -67,7 +66,7 @@
)
(call $__handle_stack_overflow)
)
- (global.set $global$0
+ (global.set $__stack_pointer
(local.get $3)
)
)
@@ -88,7 +87,7 @@
(;
--BEGIN METADATA --
{
- "tableSize": 1,
+ "tableSize": 0,
"declares": [
"__handle_stack_overflow"
],