diff options
author | Abbas Mashayekh <martianboy2005@gmail.com> | 2021-04-02 21:34:03 +0430 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-02 10:04:03 -0700 |
commit | c59df4cda843ef11ad261f5c889dddc9a9d59d3b (patch) | |
tree | 123b923408082a8578bc9bad6cafe2b5aaeeedda /test/binaryen.js/debug-names.js.txt | |
parent | c75be5fc138f4f523a548758fa785cac310563fd (diff) | |
download | binaryen-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/binaryen.js/debug-names.js.txt')
-rw-r--r-- | test/binaryen.js/debug-names.js.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/binaryen.js/debug-names.js.txt b/test/binaryen.js/debug-names.js.txt index 40e94c248..605bec650 100644 --- a/test/binaryen.js/debug-names.js.txt +++ b/test/binaryen.js/debug-names.js.txt @@ -11,9 +11,9 @@ === parsed wast === (module $hel (type $i32_=>_none (func (param i32))) + (global $ld i32 (i32.const 0)) (memory $lo 0 0) (table $wor 0 0 funcref) - (global $ld i32 (i32.const 0)) (func $of (param $wasm i32) (local $!#$%&'*+-./:<=>?@\^_`|~ f64) (nop) @@ -23,9 +23,9 @@ === roundtripped === (module $hel (type $i32_=>_none (func (param i32))) + (global $ld i32 (i32.const 0)) (memory $lo 0 0) (table $wor 0 0 funcref) - (global $ld i32 (i32.const 0)) (func $of (param $js i32) (local $!#$%&'*+-./:<=>?@\5c^_`|~ f64) (nop) @@ -35,9 +35,9 @@ === roundtripped again === (module $hel (type $i32_=>_none (func (param i32))) + (global $ld i32 (i32.const 0)) (memory $lo 0 0) (table $wor 0 0 funcref) - (global $ld i32 (i32.const 0)) (func $of (param $js i32) (local $!#$%&'*+-./:<=>?@\5c^_`|~ f64) (nop) |