From fe0b6d74f58ed8d771b8d9ec44f5e8517fdefc1f Mon Sep 17 00:00:00 2001 From: Stefan Talpalaru Date: Mon, 15 Jun 2015 08:56:07 +0200 Subject: cleanup --- lib/system/mmdisp.nim | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib') 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) -- cgit 1.4.1-2-gfad0 stats
path: root/build_all.bat
blob: 7967e2584d056b78b888b09456a47d9e4acca4b1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14