summary refs log tree commit diff stats
path: root/compiler/nimrod.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-10-10 00:41:34 +0200
committerAraq <rumpf_a@web.de>2012-10-10 00:41:34 +0200
commitd43febf81e78ac79894ab136717c6100a5492b08 (patch)
tree451569132c56fb42c39313f81e7a8e895fff6376 /compiler/nimrod.nim
parentcf06131decb2d46304874bd243c29267876e0076 (diff)
downloadNim-d43febf81e78ac79894ab136717c6100a5492b08.tar.gz
first version of a memory profiler
Diffstat (limited to 'compiler/nimrod.nim')
-rwxr-xr-xcompiler/nimrod.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nimrod.nim b/compiler/nimrod.nim
index 31ae355f6..1a73bcca0 100755
--- a/compiler/nimrod.nim
+++ b/compiler/nimrod.nim
@@ -20,7 +20,7 @@ import
 when hasTinyCBackend:
   import tccgen
 
-when defined(profiler):
+when defined(profiler) or defined(memProfiler):
   {.hint: "Profiling support is turned on!".}
   import nimprof