diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-12-12 18:55:36 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-12 18:55:36 -0800 |
commit | 8f4c82a6d7b48e4754aed6e7ed20488774a83a4f (patch) | |
tree | 070263aa740ef55c9eb9ec6df6faecc79364dfd0 /tools/eliminator/eliminator-test-output.js | |
parent | 524910b8d152bbd6a2aff719059f5a4ef0386126 (diff) |
do not try to eliminate phi variables, which are unsafe to be removed and the llvm optimizer will remove anyhow if unused
Diffstat (limited to 'tools/eliminator/eliminator-test-output.js')
-rw-r--r-- | tools/eliminator/eliminator-test-output.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/eliminator/eliminator-test-output.js b/tools/eliminator/eliminator-test-output.js index cc164f57..0d60d305 100644 --- a/tools/eliminator/eliminator-test-output.js +++ b/tools/eliminator/eliminator-test-output.js @@ -6140,4 +6140,12 @@ function asm(x, y) { b = a * a; fleefl(b | 0, a | 0); } +function phi() { + if (wat()) { + var $10 = 1; + } else { + var $10 = (_init_mparams() | 0) != 0; + } + var $10; +} |