diff options
author | Araq <rumpf_a@web.de> | 2014-08-19 20:18:33 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-08-19 20:18:33 +0200 |
commit | 5a2bea7408d98bb951b1c3504d19147d0b419f7a (patch) | |
tree | ae547245cf7ead013bdc96b4e07c2f9996c82c00 | |
parent | 4708cebaa29957a59010b56d6c47b04d264f7fd6 (diff) | |
download | Nim-5a2bea7408d98bb951b1c3504d19147d0b419f7a.tar.gz |
fixes #1445
-rw-r--r-- | lib/system/assign.nim | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/system/assign.nim b/lib/system/assign.nim index 2ae945fb1..0e27eb57f 100644 --- a/lib/system/assign.nim +++ b/lib/system/assign.nim @@ -89,14 +89,10 @@ proc genericAssignAux(dest, src: pointer, mt: PNimType, shallow: bool) = copyMem(dest, src, mt.size) # copy raw bits proc genericAssign(dest, src: pointer, mt: PNimType) {.compilerProc.} = - GC_disable() genericAssignAux(dest, src, mt, false) - GC_enable() proc genericShallowAssign(dest, src: pointer, mt: PNimType) {.compilerProc.} = - GC_disable() genericAssignAux(dest, src, mt, true) - GC_enable() when false: proc debugNimType(t: PNimType) = |