summaryrefslogtreecommitdiff
path: root/test/lld/hello_world.passive.wat.out
diff options
context:
space:
mode:
authorAbbas Mashayekh <martianboy2005@gmail.com>2021-04-02 21:34:03 +0430
committerGitHub <noreply@github.com>2021-04-02 10:04:03 -0700
commitc59df4cda843ef11ad261f5c889dddc9a9d59d3b (patch)
tree123b923408082a8578bc9bad6cafe2b5aaeeedda /test/lld/hello_world.passive.wat.out
parentc75be5fc138f4f523a548758fa785cac310563fd (diff)
downloadbinaryen-c59df4cda843ef11ad261f5c889dddc9a9d59d3b.tar.gz
binaryen-c59df4cda843ef11ad261f5c889dddc9a9d59d3b.tar.bz2
binaryen-c59df4cda843ef11ad261f5c889dddc9a9d59d3b.zip
Reorder global definitions in Print pass (#3770)
This is needed to make sure globals are printed before element segments, where `global.get` can appear both as offset and an expression.
Diffstat (limited to 'test/lld/hello_world.passive.wat.out')
-rw-r--r--test/lld/hello_world.passive.wat.out6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lld/hello_world.passive.wat.out b/test/lld/hello_world.passive.wat.out
index 5d4a2ed10..a4c1a9c1b 100644
--- a/test/lld/hello_world.passive.wat.out
+++ b/test/lld/hello_world.passive.wat.out
@@ -4,12 +4,12 @@
(type $0 (func (param i32) (result i32)))
(type $3 (func (param i32 i32) (result i32)))
(import "env" "puts" (func $puts (param i32) (result i32)))
- (memory $0 2)
- (data "Hello, world\00")
- (table $0 1 1 funcref)
(global $global$0 (mut i32) (i32.const 66128))
(global $global$1 i32 (i32.const 66128))
(global $global$2 i32 (i32.const 581))
+ (memory $0 2)
+ (data "Hello, world\00")
+ (table $0 1 1 funcref)
(export "memory" (memory $0))
(export "__wasm_call_ctors" (func $__wasm_call_ctors))
(export "__heap_base" (global $global$1))