summary refs log tree commit diff stats
path: root/lib/system/mmdisp.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system/mmdisp.nim')
-rw-r--r--lib/system/mmdisp.nim5
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)