summaryrefslogtreecommitdiff
path: root/test/ctor-eval/imported2.wast.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/ctor-eval/imported2.wast.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/ctor-eval/imported2.wast.out')
-rw-r--r--test/ctor-eval/imported2.wast.out2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ctor-eval/imported2.wast.out b/test/ctor-eval/imported2.wast.out
index bcd2b4918..6fabeadd6 100644
--- a/test/ctor-eval/imported2.wast.out
+++ b/test/ctor-eval/imported2.wast.out
@@ -1,8 +1,8 @@
(module
(type $none_=>_none (func))
+ (global $mine (mut i32) (i32.const 1))
(memory $0 256 256)
(data (i32.const 10) "wasa waka waka waka waka")
- (global $mine (mut i32) (i32.const 1))
(export "test2" (func $test2))
(export "test3" (func $test3))
(func $test2