diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-01-28 21:15:01 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-01-28 21:15:01 -0800 |
commit | c516fa7758636e15a7077c658db3c74533c7ee38 (patch) | |
tree | b51060baee760cb8dc533e88ce5af0e12a4a881d /tools/eliminator/eliminator-test-output.js | |
parent | 406dac27c1a81c1962365983d42f00577889b555 (diff) |
fix eliminator bug with variable defs not counting as mutations (which we see now due to more phis)
Diffstat (limited to 'tools/eliminator/eliminator-test-output.js')
-rw-r--r-- | tools/eliminator/eliminator-test-output.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/eliminator/eliminator-test-output.js b/tools/eliminator/eliminator-test-output.js index 594508d0..da9be5cc 100644 --- a/tools/eliminator/eliminator-test-output.js +++ b/tools/eliminator/eliminator-test-output.js @@ -105,4 +105,10 @@ function t() { __label__ = 4; } } -// EMSCRIPTEN_GENERATED_FUNCTIONS: ["f", "g", "h", "py", "r", "t"] +function f2() { + var $_pre = HEAPU32[($vla + ($storemerge312 << 2) | 0) >> 2]; + var $storemerge312 = $storemerge312 + 1 | 0; + var $8 = $_pre; + c($8); +} +// EMSCRIPTEN_GENERATED_FUNCTIONS: ["f", "g", "h", "py", "r", "t", "f2"] |