Keep master in sync with harmony

* Do not mangle when no mangle is required
 * Improve use_asm reset while printing code
This commit is contained in:
Anthony Van de Gejuchte
2016-06-20 14:18:47 +02:00
committed by Richard van Velzen
parent aa82027a17
commit 85fbf86d7b
2 changed files with 4 additions and 4 deletions

View File

@@ -224,7 +224,7 @@ describe("Directives", function() {
for (var i = 0; i < tests.length; i++) {
assert.strictEqual(
uglify.minify(tests[i][0], {fromString: true, quote_style: 3, compress: false}).code,
uglify.minify(tests[i][0], {fromString: true, quote_style: 3, compress: false, mangle: false}).code,
tests[i][1],
tests[i][0]
);