profiler improvements

This commit is contained in:
Araq 2012-09-17 00:31:41 +02:00
commit 75abf72503
8 changed files with 110 additions and 71 deletions

View file

@ -33,7 +33,7 @@ var
# list of exception handlers
# a global variable for the root of all try blocks
{.push stacktrace: off.}
{.push stacktrace: off, profiler:off.}
proc nimBoolToStr(x: bool): string {.compilerproc.} =
if x: result = "true"
else: result = "false"