diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-03-15 13:27:18 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-03-15 13:27:18 -0700 |
commit | cb47df2db52a7ecf216cffc8c9358ce702b4659a (patch) | |
tree | 609e6f99ab83096c539a2b2aadbe6731016e56de /tools/js-optimizer.js | |
parent | 3adf97ab95cacc5c0f798ef5ac18cdfd9f8514f0 (diff) |
remove empty subnodes after aggressive variable elimination
Diffstat (limited to 'tools/js-optimizer.js')
-rw-r--r-- | tools/js-optimizer.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/js-optimizer.js b/tools/js-optimizer.js index b778ca82..d41fb382 100644 --- a/tools/js-optimizer.js +++ b/tools/js-optimizer.js @@ -4272,6 +4272,8 @@ function aggressiveVariableEliminationInternal(func, asmData) { } } }); + + removeAllEmptySubNodes(func); } function aggressiveVariableElimination(ast) { |