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:58:01 -0800 |
commit | 125256db5c00421c00ef2afbb0e909a81ab3d1d1 (patch) | |
tree | 361147c46856c1792f627e12089bcd79004ab836 /tools/eliminator/eliminator-test-output.js | |
parent | 07ac727a607703a2688cbc58e560f6d3d70e3874 (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 ede34103..01f092d5 100644 --- a/tools/eliminator/eliminator-test-output.js +++ b/tools/eliminator/eliminator-test-output.js @@ -6132,4 +6132,12 @@ function _mallocNoU($bytes) { return $mem_0; return null; } +function phi() { + if (wat()) { + var $10 = 1; + } else { + var $10 = (_init_mparams() | 0) != 0; + } + var $10; +} |