diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-01-29 13:13:48 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-01-29 13:13:48 -0800 |
commit | 63abeaa88d35575419f87c594df1830b957e0b4e (patch) | |
tree | 3e8a91a3df8bd0704198e0c0484aed33c4c55ba4 /tools/eliminator/eliminator-test-output.js | |
parent | e29f63136bb41aa5c5c5ef33e67a4c7fa1a8e36e (diff) |
fix eliminator bug with eliminating over loops
Diffstat (limited to 'tools/eliminator/eliminator-test-output.js')
-rw-r--r-- | tools/eliminator/eliminator-test-output.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/eliminator/eliminator-test-output.js b/tools/eliminator/eliminator-test-output.js index da9be5cc..876340de 100644 --- a/tools/eliminator/eliminator-test-output.js +++ b/tools/eliminator/eliminator-test-output.js @@ -111,4 +111,11 @@ function f2() { var $8 = $_pre; c($8); } -// EMSCRIPTEN_GENERATED_FUNCTIONS: ["f", "g", "h", "py", "r", "t", "f2"] +function f3($s, $tree, $k) { + var $0 = HEAPU32[($s + 2908 + ($k << 2) | 0) >> 2]; + while (1) { + HEAP32[($s + 2908 + ($storemerge_in << 2) | 0) >> 2] = $9; + } + HEAP32[($s + 2908 + ($storemerge_in << 2) | 0) >> 2] = $0; +} +// EMSCRIPTEN_GENERATED_FUNCTIONS: ["f", "g", "h", "py", "r", "t", "f2", "f3"] |