diff options
author | Stefan Talpalaru <stefantalpalaru@yahoo.com> | 2015-06-15 08:56:07 +0200 |
---|---|---|
committer | Stefan Talpalaru <stefantalpalaru@yahoo.com> | 2015-06-15 08:56:07 +0200 |
commit | fe0b6d74f58ed8d771b8d9ec44f5e8517fdefc1f (patch) | |
tree | 8df422a95015dbdd8ed2dc0eded05a2f30e8fc49 /lib | |
parent | bdac85f2cfbff9bab11f06c72f364523936a5487 (diff) | |
download | Nim-fe0b6d74f58ed8d771b8d9ec44f5e8517fdefc1f.tar.gz |
cleanup
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system/mmdisp.nim | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/system/mmdisp.nim b/lib/system/mmdisp.nim index 842f29fb7..b6e2ebf53 100644 --- a/lib/system/mmdisp.nim +++ b/lib/system/mmdisp.nim @@ -149,7 +149,6 @@ when defined(boehmgc): proc GC_enableMarkAndSweep() = discard proc GC_disableMarkAndSweep() = discard proc GC_getStatistics(): string = return "" - proc setupForeignThreadGc*() = discard proc getOccupiedMem(): int = return boehmGetHeapSize()-boehmGetFreeBytes() proc getFreeMem(): int = return boehmGetFreeBytes() @@ -287,7 +286,6 @@ elif defined(gogc): "[GC] enablegc: " & $(mstats.enablegc) & "\n" & "[GC] debuggc: " & $(mstats.debuggc) & "\n" & "[GC] total pause time [ms]: " & $(mstats.pause_total_ns div 1000_000) - proc setupForeignThreadGc*() = discard proc getOccupiedMem(): int = var mstats: goMStats @@ -423,7 +421,6 @@ elif defined(nogc) and defined(useMalloc): proc GC_enableMarkAndSweep() = discard proc GC_disableMarkAndSweep() = discard proc GC_getStatistics(): string = return "" - proc setupForeignThreadGc*() = discard proc getOccupiedMem(): int = discard proc getFreeMem(): int = discard @@ -487,8 +484,6 @@ elif defined(nogc): proc GC_enableMarkAndSweep() = discard proc GC_disableMarkAndSweep() = discard proc GC_getStatistics(): string = return "" - proc setupForeignThreadGc*() = discard - proc newObj(typ: PNimType, size: int): pointer {.compilerproc.} = result = alloc0(size) |