Skip to content

Commit e77bdf4

Browse files
committed
update test
1 parent a2cc5d6 commit e77bdf4

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

tests/compiler/relocatable.optimized.wat

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,8 @@
1414
(import "env" "abort" (func $~lib/builtins/abort (param i32 i32 i32 i32)))
1515
(global $~lib/argc (mut i32) (i32.const 0))
1616
(global $~lib/started (mut i32) (i32.const 0))
17-
(global $__memory_size i32 (i32.const 304))
18-
(global $__table_size i32 (i32.const 2))
1917
(export "__start" (func $start))
2018
(export "memory" (memory $0))
21-
(export "__memory_size" (global $__memory_size))
22-
(export "__table_size" (global $__table_size))
2319
(func $start:relocatable~anonymous|0 (; 1 ;) (type $FUNCSIG$i) (result i32)
2420
i32.const 42
2521
)
@@ -134,4 +130,5 @@
134130
(func $null (; 5 ;) (type $FUNCSIG$v)
135131
nop
136132
)
133+
;; custom section "dylink", size 6
137134
)

tests/compiler/relocatable.untouched.wat

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,8 @@
2222
(global $~lib/argc (mut i32) (i32.const 0))
2323
(global $relocatable/normalArray (mut i32) (i32.const 280))
2424
(global $~lib/started (mut i32) (i32.const 0))
25-
(global $__memory_size i32 (i32.const 304))
26-
(global $__table_size i32 (i32.const 2))
2725
(export "__start" (func $start))
2826
(export "memory" (memory $0))
29-
(export "__memory_size" (global $__memory_size))
30-
(export "__table_size" (global $__table_size))
3127
(func $start:relocatable~anonymous|0 (; 1 ;) (type $FUNCSIG$i) (result i32)
3228
i32.const 42
3329
)
@@ -392,4 +388,5 @@
392388
)
393389
(func $null (; 11 ;) (type $FUNCSIG$v)
394390
)
391+
;; custom section "dylink", size 6
395392
)

0 commit comments

Comments
 (0)