and again

This commit is contained in:
araq
2025-11-18 17:41:26 +01:00
parent 62943390eb
commit c82697251e

View File

@@ -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":