diff options
-rw-r--r-- | tools/js-optimizer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/js-optimizer.js b/tools/js-optimizer.js index 4b1463eb..9391ff8e 100644 --- a/tools/js-optimizer.js +++ b/tools/js-optimizer.js @@ -2846,7 +2846,7 @@ function minifyLocals(ast) { // Analyse the asmjs to figure out local variable names, // but operate on the original source tree so that we don't // miss any global names in e.g. variable initializers. - var asmData = normalizeAsm(fun); denormalizeAsm(fun, asmData); + var asmData = normalizeAsm(fun); denormalizeAsm(fun, asmData); // TODO: we can avoid modifying at all here - we just need a list of local vars+params var newNames = {}; var usedNames = {}; |