diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2018-02-17 02:37:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-17 02:37:13 +0800 |
commit | d626e9bf19108177aba438ce81649af9f373bac0 (patch) | |
tree | 65d3280c994f65803efccab33148175f59140bc6 /lib/compress.js | |
parent | a2a9459684462224a93710631dcc29624d010e21 (diff) | |
download | tracifyjs-d626e9bf19108177aba438ce81649af9f373bac0.tar.gz tracifyjs-d626e9bf19108177aba438ce81649af9f373bac0.zip |
improve `inline` efficiency (#2924)
Diffstat (limited to 'lib/compress.js')
-rw-r--r-- | lib/compress.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/compress.js b/lib/compress.js index 65895bb7..63830d09 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -4487,6 +4487,8 @@ merge(Compressor.prototype, { })) { return false; } + } else if (line instanceof AST_EmptyStatement) { + continue; } else if (stat) { return false; } else { |