summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorReimer Behrends <behrends@gmail.com>2015-09-08 19:12:01 +0200
committerReimer Behrends <behrends@gmail.com>2015-09-08 19:12:01 +0200
commit250375bdd22530d3a0f3b2b87cbbf0987c65fcaa (patch)
tree0dfb90211df5b49a1c017a975e3ed22fe855a232 /lib
parent9deab06c1ba4e7badec41031ac1af585c353c6f2 (diff)
downloadNim-250375bdd22530d3a0f3b2b87cbbf0987c65fcaa.tar.gz
Remove spurious unsigned operations from system/threads.nim.
These operations were included before the unsigned module was
incorporated directly into system.nim and subsequently caused
compilation errors with --gc:go due to duplicate definitions.
Diffstat (limited to 'lib')
-rw-r--r--lib/system/mmdisp.nim3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/system/mmdisp.nim b/lib/system/mmdisp.nim
index ecf25ceee..1c13f3ff8 100644
--- a/lib/system/mmdisp.nim
+++ b/lib/system/mmdisp.nim
@@ -199,9 +199,6 @@ elif defined(gogc):
   else:
     const goLib = "libgo.so"
 
-  proc `div`[T: SomeUnsignedInt](x, y: T): T {.magic: "DivU", noSideEffect.}
-  proc `-`[T: SomeUnsignedInt](x, y: T): T {.magic: "SubU", noSideEffect.}
-
   proc roundup(x, v: int): int {.inline.} =
     result = (x + (v-1)) and not (v-1)