summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lld/safe_stack_standalone-wasm.wat.out12
-rw-r--r--test/lld/standalone-wasm.wat.out13
-rw-r--r--test/lld/standalone-wasm2.wat.out13
3 files changed, 3 insertions, 35 deletions
diff --git a/test/lld/safe_stack_standalone-wasm.wat.out b/test/lld/safe_stack_standalone-wasm.wat.out
index a7b828a03..48ea2be68 100644
--- a/test/lld/safe_stack_standalone-wasm.wat.out
+++ b/test/lld/safe_stack_standalone-wasm.wat.out
@@ -19,7 +19,6 @@
(export "main" (func $main))
(export "__set_stack_limit" (func $__set_stack_limit))
(export "__growWasmMemory" (func $__growWasmMemory))
- (export "_start" (func $_start))
(func $__wasm_call_ctors
(nop)
)
@@ -150,14 +149,6 @@
(local.get $newSize)
)
)
- (func $_start
- (drop
- (call $main
- (i32.const 0)
- (i32.const 0)
- )
- )
- )
)
(;
--BEGIN METADATA --
@@ -176,8 +167,7 @@
"__wasm_call_ctors",
"main",
"__set_stack_limit",
- "__growWasmMemory",
- "_start"
+ "__growWasmMemory"
],
"namedGlobals": {
"__heap_base" : "66128",
diff --git a/test/lld/standalone-wasm.wat.out b/test/lld/standalone-wasm.wat.out
index 3d1137fab..d0c2450a5 100644
--- a/test/lld/standalone-wasm.wat.out
+++ b/test/lld/standalone-wasm.wat.out
@@ -1,6 +1,5 @@
(module
(type $none_=>_i32 (func (result i32)))
- (type $none_=>_none (func))
(type $i32_=>_i32 (func (param i32) (result i32)))
(type $i32_i32_=>_i32 (func (param i32 i32) (result i32)))
(memory $0 2)
@@ -14,7 +13,6 @@
(export "__heap_base" (global $global$1))
(export "__data_end" (global $global$2))
(export "__growWasmMemory" (func $__growWasmMemory))
- (export "_start" (func $_start))
(func $__original_main (result i32)
(nop)
)
@@ -29,14 +27,6 @@
(local.get $newSize)
)
)
- (func $_start
- (drop
- (call $main
- (i32.const 0)
- (i32.const 0)
- )
- )
- )
)
(;
--BEGIN METADATA --
@@ -49,8 +39,7 @@
],
"exports": [
"main",
- "__growWasmMemory",
- "_start"
+ "__growWasmMemory"
],
"namedGlobals": {
"__heap_base" : "66112",
diff --git a/test/lld/standalone-wasm2.wat.out b/test/lld/standalone-wasm2.wat.out
index 8700e2844..5e71730fd 100644
--- a/test/lld/standalone-wasm2.wat.out
+++ b/test/lld/standalone-wasm2.wat.out
@@ -1,6 +1,5 @@
(module
(type $i32_i32_=>_i32 (func (param i32 i32) (result i32)))
- (type $none_=>_none (func))
(type $i32_=>_i32 (func (param i32) (result i32)))
(memory $0 2)
(global $global$0 (mut i32) (i32.const 66112))
@@ -11,7 +10,6 @@
(export "__heap_base" (global $global$1))
(export "__data_end" (global $global$2))
(export "__growWasmMemory" (func $__growWasmMemory))
- (export "_start" (func $_start))
(func $__original_main (param $0 i32) (param $1 i32) (result i32)
(nop)
)
@@ -26,14 +24,6 @@
(local.get $newSize)
)
)
- (func $_start
- (drop
- (call $main
- (i32.const 0)
- (i32.const 0)
- )
- )
- )
)
(;
--BEGIN METADATA --
@@ -46,8 +36,7 @@
],
"exports": [
"main",
- "__growWasmMemory",
- "_start"
+ "__growWasmMemory"
],
"namedGlobals": {
"__heap_base" : "66112",