diff options
author | Araq <rumpf_a@web.de> | 2013-12-16 22:26:17 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2013-12-16 22:26:17 +0100 |
commit | 132b6b3efee8d1be7f94545ed5fefaf64de741dc (patch) | |
tree | cc2a24dd33eadc48a621d12e89294ecd451710c9 /lib/system/alloc.nim | |
parent | 01661daf76daa713d25d06d202f83c842a6f1fe3 (diff) | |
download | Nim-132b6b3efee8d1be7f94545ed5fefaf64de741dc.tar.gz |
implemented 'injectStmt'; more debug support
Diffstat (limited to 'lib/system/alloc.nim')
-rw-r--r-- | lib/system/alloc.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/alloc.nim b/lib/system/alloc.nim index 2bab79212..17258cf68 100644 --- a/lib/system/alloc.nim +++ b/lib/system/alloc.nim @@ -760,7 +760,7 @@ proc getOccupiedMem(a: TMemRegion): int {.inline.} = # ---------------------- thread memory region ------------------------------- template InstantiateForRegion(allocator: expr) = - when false: + when defined(fulldebug): proc interiorAllocatedPtr*(p: pointer): pointer = result = interiorAllocatedPtr(allocator, p) |