summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lld/em_asm.json1
-rw-r--r--test/lld/em_asm.obin797 -> 0 bytes
-rw-r--r--test/lld/em_asm.wast26
-rw-r--r--test/lld/em_asm.wast.out21
-rw-r--r--test/lld/hello_world.json1
-rw-r--r--test/lld/hello_world.obin314 -> 0 bytes
-rw-r--r--test/lld/hello_world.wast18
-rw-r--r--test/lld/hello_world.wast.out19
-rw-r--r--test/lld/init.json1
-rw-r--r--test/lld/init.obin407 -> 0 bytes
-rw-r--r--test/lld/init.wast18
-rw-r--r--test/lld/init.wast.out19
-rw-r--r--test/lld/recursive.json1
-rw-r--r--test/lld/recursive.obin557 -> 0 bytes
-rw-r--r--test/lld/recursive.wast14
-rw-r--r--test/lld/recursive.wast.out15
-rw-r--r--test/lld/reserved_func_ptr.jscall.json1
-rw-r--r--test/lld/reserved_func_ptr.json1
-rw-r--r--test/lld/reserved_func_ptr.obin566 -> 0 bytes
-rw-r--r--test/lld/reserved_func_ptr.wast6
-rw-r--r--test/lld/reserved_func_ptr.wast.jscall.out7
-rw-r--r--test/lld/reserved_func_ptr.wast.out7
22 files changed, 99 insertions, 77 deletions
diff --git a/test/lld/em_asm.json b/test/lld/em_asm.json
deleted file mode 100644
index f5027845d..000000000
--- a/test/lld/em_asm.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "asmConsts": {"2": ["{ Module.print(\"Got \" + $0); }", ["ii"]],"0": ["{ Module.print(\"Hello world\"); }", ["i"]],"1": ["{ return $0 + $1; }", ["iii"]]},"staticBump": 84, "initializers": ["__wasm_call_ctors"] }
diff --git a/test/lld/em_asm.o b/test/lld/em_asm.o
deleted file mode 100644
index f95befdee..000000000
--- a/test/lld/em_asm.o
+++ /dev/null
Binary files differ
diff --git a/test/lld/em_asm.wast b/test/lld/em_asm.wast
index da1d8c3b6..b1f4d4fe2 100644
--- a/test/lld/em_asm.wast
+++ b/test/lld/em_asm.wast
@@ -1,32 +1,34 @@
(module
- (type $0 (func (result i32)))
- (type $1 (func (param i32) (result i32)))
- (type $2 (func (param i32 i32 i32) (result i32)))
- (type $3 (func (param i32 i32) (result i32)))
+ (type $0 (func (param i32) (result i32)))
+ (type $1 (func (param i32 i32 i32) (result i32)))
+ (type $2 (func (param i32 i32) (result i32)))
+ (type $3 (func (result i32)))
(type $4 (func))
(import "env" "_Z24emscripten_asm_const_intIJEEiPKcDpT_" (func $_Z24emscripten_asm_const_intIJEEiPKcDpT_ (param i32) (result i32)))
(import "env" "_Z24emscripten_asm_const_intIJiiEEiPKcDpT_" (func $_Z24emscripten_asm_const_intIJiiEEiPKcDpT_ (param i32 i32 i32) (result i32)))
(import "env" "_Z24emscripten_asm_const_intIJiEEiPKcDpT_" (func $_Z24emscripten_asm_const_intIJiEEiPKcDpT_ (param i32 i32) (result i32)))
- (global $global$0 (mut i32) (i32.const 66656))
- (global $global$1 i32 (i32.const 66656))
+ (global $global$0 (mut i32) (i32.const 66192))
+ (global $global$1 i32 (i32.const 66192))
+ (global $global$2 i32 (i32.const 652))
(table 1 1 anyfunc)
(memory $0 2)
- (data (i32.const 1024) "{ Module.print(\"Hello world\"); }\00{ return $0 + $1; }\00{ Module.print(\"Got \" + $0); }\00")
+ (data (i32.const 568) "{ Module.print(\"Hello world\"); }\00{ return $0 + $1; }\00{ Module.print(\"Got \" + $0); }\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))
- (func $main (; 3 ;) (type $0) (result i32)
+ (export "__data_end" (global $global$2))
+ (func $main (; 3 ;) (type $3) (result i32)
(drop
(call $_Z24emscripten_asm_const_intIJEEiPKcDpT_
- (i32.const 1024)
+ (i32.const 568)
)
)
(drop
(call $_Z24emscripten_asm_const_intIJiEEiPKcDpT_
- (i32.const 1077)
+ (i32.const 621)
(call $_Z24emscripten_asm_const_intIJiiEEiPKcDpT_
- (i32.const 1057)
+ (i32.const 601)
(i32.const 13)
(i32.const 27)
)
diff --git a/test/lld/em_asm.wast.out b/test/lld/em_asm.wast.out
index 921cd9782..4aacefc05 100644
--- a/test/lld/em_asm.wast.out
+++ b/test/lld/em_asm.wast.out
@@ -1,8 +1,8 @@
(module
- (type $0 (func (result i32)))
- (type $1 (func (param i32) (result i32)))
- (type $2 (func (param i32 i32 i32) (result i32)))
- (type $3 (func (param i32 i32) (result i32)))
+ (type $0 (func (param i32) (result i32)))
+ (type $1 (func (param i32 i32 i32) (result i32)))
+ (type $2 (func (param i32 i32) (result i32)))
+ (type $3 (func (result i32)))
(type $4 (func))
(type $FUNCSIG$ii (func (param i32) (result i32)))
(type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32)))
@@ -10,20 +10,22 @@
(import "env" "emscripten_asm_const_i" (func $emscripten_asm_const_i (param i32) (result i32)))
(import "env" "emscripten_asm_const_iii" (func $emscripten_asm_const_iii (param i32 i32 i32) (result i32)))
(import "env" "emscripten_asm_const_ii" (func $emscripten_asm_const_ii (param i32 i32) (result i32)))
- (global $global$0 (mut i32) (i32.const 66656))
- (global $global$1 i32 (i32.const 66656))
+ (global $global$0 (mut i32) (i32.const 66192))
+ (global $global$1 i32 (i32.const 66192))
+ (global $global$2 i32 (i32.const 652))
(table 1 1 anyfunc)
(memory $0 2)
- (data (i32.const 1024) "{ Module.print(\"Hello world\"); }\00{ return $0 + $1; }\00{ Module.print(\"Got \" + $0); }\00")
+ (data (i32.const 568) "{ Module.print(\"Hello world\"); }\00{ return $0 + $1; }\00{ Module.print(\"Got \" + $0); }\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))
(export "stackSave" (func $stackSave))
(export "stackAlloc" (func $stackAlloc))
(export "stackRestore" (func $stackRestore))
(export "__growWasmMemory" (func $__growWasmMemory))
- (func $main (; 3 ;) (type $0) (result i32)
+ (func $main (; 3 ;) (type $3) (result i32)
(drop
(call $emscripten_asm_const_i
(i32.const 0)
@@ -73,3 +75,4 @@
)
)
)
+;; METADATA: { "asmConsts": {"2": ["{ Module.print(\"Got \" + $0); }", ["ii"]],"0": ["{ Module.print(\"Hello world\"); }", ["i"]],"1": ["{ return $0 + $1; }", ["iii"]]},"staticBump": 84, "initializers": ["__wasm_call_ctors"] }
diff --git a/test/lld/hello_world.json b/test/lld/hello_world.json
deleted file mode 100644
index c0a391b6e..000000000
--- a/test/lld/hello_world.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "asmConsts": {},"staticBump": 13, "initializers": ["__wasm_call_ctors"] }
diff --git a/test/lld/hello_world.o b/test/lld/hello_world.o
deleted file mode 100644
index a14f95993..000000000
--- a/test/lld/hello_world.o
+++ /dev/null
Binary files differ
diff --git a/test/lld/hello_world.wast b/test/lld/hello_world.wast
index d1610cece..0564e64a8 100644
--- a/test/lld/hello_world.wast
+++ b/test/lld/hello_world.wast
@@ -1,21 +1,23 @@
(module
- (type $0 (func (result i32)))
- (type $1 (func (param i32) (result i32)))
+ (type $0 (func (param i32) (result i32)))
+ (type $1 (func (result i32)))
(type $2 (func))
(import "env" "puts" (func $puts (param i32) (result i32)))
- (global $global$0 (mut i32) (i32.const 66576))
- (global $global$1 i32 (i32.const 66576))
+ (global $global$0 (mut i32) (i32.const 66128))
+ (global $global$1 i32 (i32.const 66128))
+ (global $global$2 i32 (i32.const 581))
(table 1 1 anyfunc)
(memory $0 2)
- (data (i32.const 1024) "Hello, world\00")
+ (data (i32.const 568) "Hello, world\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))
- (func $main (; 1 ;) (type $0) (result i32)
+ (export "__data_end" (global $global$2))
+ (func $main (; 1 ;) (type $1) (result i32)
(drop
(call $puts
- (i32.const 1024)
+ (i32.const 568)
)
)
(i32.const 0)
diff --git a/test/lld/hello_world.wast.out b/test/lld/hello_world.wast.out
index ab861cc94..f106f6fc7 100644
--- a/test/lld/hello_world.wast.out
+++ b/test/lld/hello_world.wast.out
@@ -1,26 +1,28 @@
(module
- (type $0 (func (result i32)))
- (type $1 (func (param i32) (result i32)))
+ (type $0 (func (param i32) (result i32)))
+ (type $1 (func (result i32)))
(type $2 (func))
(type $FUNCSIG$ii (func (param i32) (result i32)))
(import "env" "puts" (func $puts (param i32) (result i32)))
- (global $global$0 (mut i32) (i32.const 66576))
- (global $global$1 i32 (i32.const 66576))
+ (global $global$0 (mut i32) (i32.const 66128))
+ (global $global$1 i32 (i32.const 66128))
+ (global $global$2 i32 (i32.const 581))
(table 1 1 anyfunc)
(memory $0 2)
- (data (i32.const 1024) "Hello, world\00")
+ (data (i32.const 568) "Hello, world\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))
(export "stackSave" (func $stackSave))
(export "stackAlloc" (func $stackAlloc))
(export "stackRestore" (func $stackRestore))
(export "__growWasmMemory" (func $__growWasmMemory))
- (func $main (; 1 ;) (type $0) (result i32)
+ (func $main (; 1 ;) (type $1) (result i32)
(drop
(call $puts
- (i32.const 1024)
+ (i32.const 568)
)
)
(i32.const 0)
@@ -57,3 +59,4 @@
)
)
)
+;; METADATA: { "asmConsts": {},"staticBump": 13, "initializers": ["__wasm_call_ctors"] }
diff --git a/test/lld/init.json b/test/lld/init.json
deleted file mode 100644
index f4d13ada1..000000000
--- a/test/lld/init.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "asmConsts": {},"staticBump": 8, "initializers": ["__wasm_call_ctors"] }
diff --git a/test/lld/init.o b/test/lld/init.o
deleted file mode 100644
index e86c68092..000000000
--- a/test/lld/init.o
+++ /dev/null
Binary files differ
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)
)
)
diff --git a/test/lld/init.wast.out b/test/lld/init.wast.out
index 3b46d26d4..edcfff482 100644
--- a/test/lld/init.wast.out
+++ b/test/lld/init.wast.out
@@ -1,37 +1,39 @@
(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))
(export "stackSave" (func $stackSave))
(export "stackAlloc" (func $stackAlloc))
(export "stackRestore" (func $stackRestore))
(export "__growWasmMemory" (func $__growWasmMemory))
(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)
)
)
@@ -69,3 +71,4 @@
)
)
)
+;; METADATA: { "asmConsts": {},"staticBump": 8, "initializers": ["__wasm_call_ctors"] }
diff --git a/test/lld/recursive.json b/test/lld/recursive.json
deleted file mode 100644
index a976be232..000000000
--- a/test/lld/recursive.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "asmConsts": {},"staticBump": 19, "initializers": ["__wasm_call_ctors"] }
diff --git a/test/lld/recursive.o b/test/lld/recursive.o
deleted file mode 100644
index 409257fd4..000000000
--- a/test/lld/recursive.o
+++ /dev/null
Binary files differ
diff --git a/test/lld/recursive.wast b/test/lld/recursive.wast
index 21b46a31f..c6dbdd359 100644
--- a/test/lld/recursive.wast
+++ b/test/lld/recursive.wast
@@ -3,15 +3,17 @@
(type $1 (func (result i32)))
(type $2 (func))
(import "env" "printf" (func $printf (param i32 i32) (result i32)))
- (global $global$0 (mut i32) (i32.const 66592))
- (global $global$1 i32 (i32.const 66592))
+ (global $global$0 (mut i32) (i32.const 66128))
+ (global $global$1 i32 (i32.const 66128))
+ (global $global$2 i32 (i32.const 587))
(table 1 1 anyfunc)
(memory $0 2)
- (data (i32.const 1024) "%d:%d\n\00Result: %d\n\00")
+ (data (i32.const 568) "%d:%d\n\00Result: %d\n\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 $foo (; 1 ;) (type $0) (param $var$0 i32) (param $var$1 i32) (result i32)
(local $var$2 i32)
(set_global $global$0
@@ -32,7 +34,7 @@
)
(drop
(call $printf
- (i32.const 1024)
+ (i32.const 568)
(get_local $var$2)
)
)
@@ -66,7 +68,7 @@
)
(drop
(call $printf
- (i32.const 1031)
+ (i32.const 575)
(get_local $var$0)
)
)
diff --git a/test/lld/recursive.wast.out b/test/lld/recursive.wast.out
index 4920a7622..13659ac36 100644
--- a/test/lld/recursive.wast.out
+++ b/test/lld/recursive.wast.out
@@ -4,15 +4,17 @@
(type $2 (func))
(type $FUNCSIG$iii (func (param i32 i32) (result i32)))
(import "env" "printf" (func $printf (param i32 i32) (result i32)))
- (global $global$0 (mut i32) (i32.const 66592))
- (global $global$1 i32 (i32.const 66592))
+ (global $global$0 (mut i32) (i32.const 66128))
+ (global $global$1 i32 (i32.const 66128))
+ (global $global$2 i32 (i32.const 587))
(table 1 1 anyfunc)
(memory $0 2)
- (data (i32.const 1024) "%d:%d\n\00Result: %d\n\00")
+ (data (i32.const 568) "%d:%d\n\00Result: %d\n\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))
(export "stackSave" (func $stackSave))
(export "stackAlloc" (func $stackAlloc))
(export "stackRestore" (func $stackRestore))
@@ -37,7 +39,7 @@
)
(drop
(call $printf
- (i32.const 1024)
+ (i32.const 568)
(get_local $var$2)
)
)
@@ -71,7 +73,7 @@
)
(drop
(call $printf
- (i32.const 1031)
+ (i32.const 575)
(get_local $var$0)
)
)
@@ -115,3 +117,4 @@
)
)
)
+;; METADATA: { "asmConsts": {},"staticBump": 19, "initializers": ["__wasm_call_ctors"] }
diff --git a/test/lld/reserved_func_ptr.jscall.json b/test/lld/reserved_func_ptr.jscall.json
deleted file mode 100644
index e463aafe7..000000000
--- a/test/lld/reserved_func_ptr.jscall.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "asmConsts": {},"staticBump": 0, "initializers": ["__wasm_call_ctors"], "jsCallStartIndex": 3, "jsCallFuncType": ["ddi", "fffi", "iii", "v", "vi", "viii"] }
diff --git a/test/lld/reserved_func_ptr.json b/test/lld/reserved_func_ptr.json
deleted file mode 100644
index 82f73d077..000000000
--- a/test/lld/reserved_func_ptr.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "asmConsts": {},"staticBump": 0, "initializers": ["__wasm_call_ctors"] }
diff --git a/test/lld/reserved_func_ptr.o b/test/lld/reserved_func_ptr.o
deleted file mode 100644
index f352c5cfe..000000000
--- a/test/lld/reserved_func_ptr.o
+++ /dev/null
Binary files differ
diff --git a/test/lld/reserved_func_ptr.wast b/test/lld/reserved_func_ptr.wast
index 6a77ec71b..b3c6fd9b3 100644
--- a/test/lld/reserved_func_ptr.wast
+++ b/test/lld/reserved_func_ptr.wast
@@ -7,8 +7,9 @@
(type $5 (func (param i32 i32 i32)))
(type $6 (func (param i32) (result i32)))
(import "env" "_Z4atoiPKc" (func $_Z4atoiPKc (param i32) (result i32)))
- (global $global$0 (mut i32) (i32.const 66560))
- (global $global$1 i32 (i32.const 66560))
+ (global $global$0 (mut i32) (i32.const 66112))
+ (global $global$1 i32 (i32.const 66112))
+ (global $global$2 i32 (i32.const 568))
(table 3 3 anyfunc)
(elem (i32.const 1) $_Z18address_taken_funciii $_Z19address_taken_func2iii)
(memory $0 2)
@@ -16,6 +17,7 @@
(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 $_Z18address_taken_funciii (; 1 ;) (type $5) (param $var$0 i32) (param $var$1 i32) (param $var$2 i32)
)
(func $_Z19address_taken_func2iii (; 2 ;) (type $5) (param $var$0 i32) (param $var$1 i32) (param $var$2 i32)
diff --git a/test/lld/reserved_func_ptr.wast.jscall.out b/test/lld/reserved_func_ptr.wast.jscall.out
index 02166bf6c..cdcbfe159 100644
--- a/test/lld/reserved_func_ptr.wast.jscall.out
+++ b/test/lld/reserved_func_ptr.wast.jscall.out
@@ -25,8 +25,9 @@
(import "env" "jsCall_v" (func $jsCall_v (param i32)))
(import "env" "jsCall_vi" (func $jsCall_vi (param i32 i32)))
(import "env" "jsCall_viii" (func $jsCall_viii (param i32 i32 i32 i32)))
- (global $global$0 (mut i32) (i32.const 66560))
- (global $global$1 i32 (i32.const 66560))
+ (global $global$0 (mut i32) (i32.const 66112))
+ (global $global$1 i32 (i32.const 66112))
+ (global $global$2 i32 (i32.const 568))
(table 21 21 anyfunc)
(elem (i32.const 1) $_Z18address_taken_funciii $_Z19address_taken_func2iii $jsCall_ddi_0 $jsCall_ddi_1 $jsCall_ddi_2 $jsCall_fffi_0 $jsCall_fffi_1 $jsCall_fffi_2 $jsCall_iii_0 $jsCall_iii_1 $jsCall_iii_2 $jsCall_v_0 $jsCall_v_1 $jsCall_v_2 $jsCall_vi_0 $jsCall_vi_1 $jsCall_vi_2 $jsCall_viii_0 $jsCall_viii_1 $jsCall_viii_2)
(memory $0 2)
@@ -34,6 +35,7 @@
(export "__wasm_call_ctors" (func $__wasm_call_ctors))
(export "main" (func $main))
(export "__heap_base" (global $global$1))
+ (export "__data_end" (global $global$2))
(export "stackSave" (func $stackSave))
(export "stackAlloc" (func $stackAlloc))
(export "stackRestore" (func $stackRestore))
@@ -292,3 +294,4 @@
)
)
)
+;; METADATA: { "asmConsts": {},"staticBump": 0, "initializers": ["__wasm_call_ctors"], "jsCallStartIndex": 2, "jsCallFuncType": ["ddi", "fffi", "iii", "v", "vi", "viii"] }
diff --git a/test/lld/reserved_func_ptr.wast.out b/test/lld/reserved_func_ptr.wast.out
index 983269810..a8c09a443 100644
--- a/test/lld/reserved_func_ptr.wast.out
+++ b/test/lld/reserved_func_ptr.wast.out
@@ -9,8 +9,9 @@
(type $FUNCSIG$ii (func (param i32) (result i32)))
(type $FUNCSIG$viii (func (param i32 i32 i32)))
(import "env" "_Z4atoiPKc" (func $_Z4atoiPKc (param i32) (result i32)))
- (global $global$0 (mut i32) (i32.const 66560))
- (global $global$1 i32 (i32.const 66560))
+ (global $global$0 (mut i32) (i32.const 66112))
+ (global $global$1 i32 (i32.const 66112))
+ (global $global$2 i32 (i32.const 568))
(table 3 3 anyfunc)
(elem (i32.const 1) $_Z18address_taken_funciii $_Z19address_taken_func2iii)
(memory $0 2)
@@ -18,6 +19,7 @@
(export "__wasm_call_ctors" (func $__wasm_call_ctors))
(export "main" (func $main))
(export "__heap_base" (global $global$1))
+ (export "__data_end" (global $global$2))
(export "stackSave" (func $stackSave))
(export "stackAlloc" (func $stackAlloc))
(export "stackRestore" (func $stackRestore))
@@ -153,3 +155,4 @@
)
)
)
+;; METADATA: { "asmConsts": {},"staticBump": 0, "initializers": ["__wasm_call_ctors"] }