diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-10-19 20:08:36 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-19 20:08:36 -0700 |
commit | 81a6e2186ce7326e119a843b72fcd53cc8ad5aab (patch) | |
tree | a4820f75c85c1f2bf85de0c55f096d3ed7d3a713 /src/compiler.js | |
parent | b31ab685bbd0b33e27cf65433ae10c7aa5df538e (diff) |
commented-out compiler profiler support
Diffstat (limited to 'src/compiler.js')
-rw-r--r-- | src/compiler.js | 3 |
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)); |