Fix handling of "use asm" when no command line flags are passed to uglifyjs. SCOPE_IS_NEEDED is unconditionally true now. Refactored floating point literal parsing to be more in keeping with the AST class design.

This commit is contained in:
kzc
2015-10-07 13:10:53 -04:00
parent 99945fcd04
commit 4d2f7d83af
4 changed files with 14 additions and 10 deletions

View File

@@ -401,7 +401,7 @@ async.eachLimit(files, 1, function (file, cb) {
writeNameCache("props", cache);
})();
var SCOPE_IS_NEEDED = COMPRESS || MANGLE || BEAUTIFY || ARGS.lint;
var SCOPE_IS_NEEDED = true;
var TL_CACHE = readNameCache("vars");
if (SCOPE_IS_NEEDED) {