From c82697251e802afea3f82bf7794897e6e1aae4ba Mon Sep 17 00:00:00 2001 From: araq Date: Tue, 18 Nov 2025 17:41:26 +0100 Subject: [PATCH] and again --- lib/system.nim | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/system.nim b/lib/system.nim index e6d0bd0bed..b1774b965f 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -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":