aboutsummaryrefslogtreecommitdiff
path: root/src/compiler.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler.js')
-rw-r--r--src/compiler.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler.js b/src/compiler.js
index ac1b0ec8..e9197a5d 100644
--- a/src/compiler.js
+++ b/src/compiler.js
@@ -285,6 +285,7 @@ function compile(raw) {
//dumpInterProf();
//printErr(phase + ' paths (fast, slow): ' + [fastPaths, slowPaths]);
+ B.print(phase);
phase = null;
@@ -308,6 +309,8 @@ function compile(raw) {
}
}
+B = new Benchmarker();
+
if (ll_file) {
if (ll_file.indexOf(String.fromCharCode(10)) == -1) {
compile(read(ll_file));