This commit is contained in:
Mihai Bazon
2012-09-11 18:37:08 +03:00
parent 8e82d8d94c
commit 9a629abe00
2 changed files with 22 additions and 4 deletions

View File

@@ -105,9 +105,9 @@ if (ARGS.stats) {
/* -----[ functions ]----- */
function do_file_1(file) {
if (ARGS.v) {
sys.error("Compressing " + file);
}
// if (ARGS.v) {
// sys.error("Compressing " + file);
// }
var code = read_whole_file(file);
var ast;
time_it("parse", function(){
@@ -134,6 +134,9 @@ function do_file_2(ast) {
function do_file_3(ast) {
var file = ast.filename;
// if (ARGS.v) {
// sys.error("Mangling/generating " + file);
// }
time_it("mangle", function(){
ast.mangle_names();
});