summary refs log tree commit diff stats
path: root/lib/system/excpt.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2015-08-25 10:54:05 +0200
committerAndreas Rumpf <rumpf_a@web.de>2015-08-25 10:54:05 +0200
commit5cfce2623b0ba1fba0085881c3e1cc42912a5225 (patch)
tree59e17aee6873104de39fa9796fb27b7045687fcd /lib/system/excpt.nim
parent3a01eab4df76e24b67ea62337411a23bc5987e28 (diff)
parent24ad2cb39247039c50db1b0a8633d00130814fda (diff)
downloadNim-5cfce2623b0ba1fba0085881c3e1cc42912a5225.tar.gz
Merge pull request #3160 from r-ku/coroutines
Coroutines
Diffstat (limited to 'lib/system/excpt.nim')
-rw-r--r--lib/system/excpt.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim
index 5d2faa2d6..df28c1493 100644
--- a/lib/system/excpt.nim
+++ b/lib/system/excpt.nim
@@ -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.} =