No longer use vm to load code.

Improves performance 2x on node > 0.10.

Ref #636
This commit is contained in:
Mihai Bazon
2015-09-24 17:57:47 +03:00
parent 33528002b4
commit 99233c44cc
4 changed files with 27 additions and 31 deletions

View File

@@ -254,7 +254,6 @@ if (ARGS.self) {
}
files = UglifyJS.FILES;
if (!ARGS.wrap) ARGS.wrap = "UglifyJS";
ARGS.export_all = true;
}
var ORIG_MAP = ARGS.in_source_map;