Skip to content

Commit 29b6188

Browse files
committed
fix regression due to commenting out a compiler.js try-catch, which was landed by mistake
1 parent d849f3a commit 29b6188

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/compiler.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ function compile(raw) {
316316

317317
B = new Benchmarker();
318318

319-
//try {
319+
try {
320320
if (ll_file) {
321321
if (phase === 'glue') {
322322
compile(';');
@@ -326,7 +326,6 @@ B = new Benchmarker();
326326
compile(ll_file); // we are given raw .ll
327327
}
328328
}
329-
/*
330329
} catch(err) {
331330
if (err.indexOf('Aborting compilation due to previous errors') != -1) {
332331
// Compiler failed on user error, print out the error message.
@@ -352,7 +351,6 @@ B = new Benchmarker();
352351
}, 500);
353352
} else throw err;
354353
}
355-
*/
356354

357355
//var M = keys(tokenCacheMisses).map(function(m) { return [m, misses[m]] }).sort(function(a, b) { return a[1] - b[1] });
358356
//printErr(dump(M.slice(M.length-10)));

0 commit comments

Comments
 (0)