mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-21 23:05:27 +00:00
IC: further progress (#17150)
* IC: respect the -f switch * IC: better rod file inspection * progress
This commit is contained in:
@@ -378,7 +378,6 @@ proc reportUnhandledErrorAux(e: ref Exception) {.nodestroy.} =
|
||||
# ugly, but avoids heap allocations :-)
|
||||
template xadd(buf, s, slen) =
|
||||
if L + slen < high(buf):
|
||||
|
||||
copyMem(addr(buf[L]), (when s is cstring: s else: cstring(s)), slen)
|
||||
inc L, slen
|
||||
template add(buf, s) =
|
||||
@@ -404,8 +403,6 @@ proc reportUnhandledError(e: ref Exception) {.nodestroy.} =
|
||||
unhandledExceptionHook(e)
|
||||
when hostOS != "any":
|
||||
reportUnhandledErrorAux(e)
|
||||
else:
|
||||
discard ()
|
||||
|
||||
proc nimLeaveFinally() {.compilerRtl.} =
|
||||
when defined(cpp) and not defined(noCppExceptions) and not gotoBasedExceptions:
|
||||
|
||||
Reference in New Issue
Block a user