diff options
author | Alon Zakai <alonzakai@gmail.com> | 2019-01-08 09:55:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-08 09:55:24 -0800 |
commit | 34fbbb3dde9f17a83ed63264d1165ebb7a66ddc7 (patch) | |
tree | bac8504df9d40d45916f6a890b75fbc7f7ec3c61 /test/passes/remove-unused-names_code-folding.txt | |
parent | 7d94900ded8e2e5ce8ef8ee2687528531d8f2a97 (diff) | |
download | binaryen-34fbbb3dde9f17a83ed63264d1165ebb7a66ddc7.tar.gz binaryen-34fbbb3dde9f17a83ed63264d1165ebb7a66ddc7.tar.bz2 binaryen-34fbbb3dde9f17a83ed63264d1165ebb7a66ddc7.zip |
determinism fix for code-folding (#1852)
Don't depend on the hash values for ordering - use a fixed order based on order of appearance.
Diffstat (limited to 'test/passes/remove-unused-names_code-folding.txt')
-rw-r--r-- | test/passes/remove-unused-names_code-folding.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/passes/remove-unused-names_code-folding.txt b/test/passes/remove-unused-names_code-folding.txt index 8590836ee..85750e06d 100644 --- a/test/passes/remove-unused-names_code-folding.txt +++ b/test/passes/remove-unused-names_code-folding.txt @@ -1069,19 +1069,19 @@ (block (if (i32.const 1) - (br $folding-inner1) + (br $folding-inner0) ) (if (i32.const 1) - (br $folding-inner1) + (br $folding-inner0) ) (if (i32.const 1) - (br $folding-inner0) + (br $folding-inner1) ) (if (i32.const 1) - (br $folding-inner0) + (br $folding-inner1) ) ) (return) @@ -1098,7 +1098,7 @@ (nop) (nop) (drop - (i32.const 2) + (i32.const 1) ) (unreachable) ) @@ -1115,7 +1115,7 @@ (nop) (nop) (drop - (i32.const 1) + (i32.const 2) ) (unreachable) ) |