Coroutine support for i386/amd64 platforms unix/windows OSes markAndSweep/refCounting GCs.

This commit is contained in:
rku 2015-07-31 17:18:16 +03:00
commit 43bfda057b
13 changed files with 843 additions and 320 deletions

View file

@ -44,10 +44,12 @@ var
# a global variable for the root of all try blocks
currException {.threadvar.}: ref Exception
proc getFrame*(): PFrame {.compilerRtl, inl.} = framePtr
proc popFrame {.compilerRtl, inl.} =
framePtr = framePtr.prev
proc setFrame(s: PFrame) {.compilerRtl, inl.} =
proc setFrame*(s: PFrame) {.compilerRtl, inl.} =
framePtr = s
proc pushSafePoint(s: PSafePoint) {.compilerRtl, inl.} =