summaryrefslogtreecommitdiff
path: root/test/lld/init.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/lld/init.wast')
-rw-r--r--test/lld/init.wast18
1 files changed, 10 insertions, 8 deletions
diff --git a/test/lld/init.wast b/test/lld/init.wast
index be25ed464..87c2e862f 100644
--- a/test/lld/init.wast
+++ b/test/lld/init.wast
@@ -1,33 +1,35 @@
(module
(type $0 (func))
(type $1 (func (result i32)))
- (global $global$0 (mut i32) (i32.const 66576))
- (global $global$1 i32 (i32.const 66576))
+ (global $global$0 (mut i32) (i32.const 66112))
+ (global $global$1 i32 (i32.const 66112))
+ (global $global$2 i32 (i32.const 576))
(table 1 1 anyfunc)
(memory $0 2)
- (data (i32.const 1024) "\00\00\00\00\00\00\00\00")
+ (data (i32.const 568) "\00\00\00\00\00\00\00\00")
(export "memory" (memory $0))
- (export "main" (func $main))
(export "__wasm_call_ctors" (func $__wasm_call_ctors))
+ (export "main" (func $main))
(export "__heap_base" (global $global$1))
+ (export "__data_end" (global $global$2))
(func $init_x (; 0 ;) (type $0)
- (i32.store offset=1024
+ (i32.store offset=568
(i32.const 0)
(i32.const 14)
)
)
(func $init_y (; 1 ;) (type $0)
- (i32.store offset=1028
+ (i32.store offset=572
(i32.const 0)
(i32.const 144)
)
)
(func $main (; 2 ;) (type $1) (result i32)
(i32.add
- (i32.load offset=1024
+ (i32.load offset=568
(i32.const 0)
)
- (i32.load offset=1028
+ (i32.load offset=572
(i32.const 0)
)
)