summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-02-09 01:34:17 +0100
committerAraq <rumpf_a@web.de>2014-02-09 01:34:17 +0100
commitac3bce79d112a2168b67e791b79a1fe9bde84fd1 (patch)
tree933123371d46903096e328e5f193b0109605a196
parent783095a100a2ae11745dcda50d99e99ab85f3afd (diff)
downloadNim-ac3bce79d112a2168b67e791b79a1fe9bde84fd1.tar.gz
compiles on sparc again
-rw-r--r--lib/system/gc.nim2
-rw-r--r--todo.txt1
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/system/gc.nim b/lib/system/gc.nim
index 820093b3e..b08a6d214 100644
--- a/lib/system/gc.nim
+++ b/lib/system/gc.nim
@@ -802,7 +802,7 @@ when defined(sparc): # For SPARC architecture.
     # Addresses decrease as the stack grows.
     while sp <= max:
       gcMark(gch, sp[])
-      sp = cast[ppointer](cast[TAddress](sp) +% sizeof(pointer))
+      sp = cast[PPointer](cast[TAddress](sp) +% sizeof(pointer))
 
 elif defined(ELATE):
   {.error: "stack marking code is to be written for this architecture".}
diff --git a/todo.txt b/todo.txt
index 738e9b3fa..0962d172e 100644
--- a/todo.txt
+++ b/todo.txt
@@ -4,7 +4,6 @@ version 0.9.4
 - fix GC issues
 - fix macros\tstringinterp.nim
 - test and fix showoff
-- test C source code generation
 - fix closures
 - test and fix exception handling
 - implement 'union' and 'bits' pragmas