mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-14 00:35:33 +00:00
and again
This commit is contained in:
@@ -1754,6 +1754,15 @@ type
|
||||
when NimStackTraceMsgs:
|
||||
frameMsgLen*: int ## end position in frameMsgBuf for this frame.
|
||||
|
||||
when notJSnotNims and not gotoBasedExceptions:
|
||||
type
|
||||
PSafePoint = ptr TSafePoint
|
||||
TSafePoint {.compilerproc, final.} = object
|
||||
prev: PSafePoint # points to next safe point ON THE STACK
|
||||
status: int
|
||||
context: C_JmpBuf
|
||||
SafePoint = TSafePoint
|
||||
|
||||
when defined(nimV2):
|
||||
var
|
||||
framePtr {.threadvar.}: PFrame
|
||||
@@ -2238,15 +2247,6 @@ when not defined(js) and declared(alloc0) and declared(dealloc):
|
||||
inc(i)
|
||||
dealloc(a)
|
||||
|
||||
when notJSnotNims and not gotoBasedExceptions:
|
||||
type
|
||||
PSafePoint = ptr TSafePoint
|
||||
TSafePoint {.compilerproc, final.} = object
|
||||
prev: PSafePoint # points to next safe point ON THE STACK
|
||||
status: int
|
||||
context: C_JmpBuf
|
||||
SafePoint = TSafePoint
|
||||
|
||||
when not defined(js):
|
||||
when hasThreadSupport:
|
||||
when hostOS != "standalone":
|
||||
|
||||
Reference in New Issue
Block a user