minor improvements

This commit is contained in:
Andreas Rumpf
2019-10-25 21:08:17 +02:00
parent f3b56e7ac0
commit 0631d2dccc
2 changed files with 9 additions and 8 deletions

View File

@@ -680,7 +680,8 @@ proc gcMark(gch: var GcHeap, p: pointer) {.inline.} =
garbage collection that is used by Nim. For more information, please see the documentation of
`CLANG_NO_SANITIZE_ADDRESS` in `lib/nimbase.h`.
]#
proc markStackAndRegisters(gch: var GcHeap) {.noinline, cdecl, codegenDecl: "CLANG_NO_SANITIZE_ADDRESS $# $#$#".} =
proc markStackAndRegisters(gch: var GcHeap) {.noinline, cdecl,
codegenDecl: "CLANG_NO_SANITIZE_ADDRESS $# $#$#".} =
forEachStackSlot(gch, gcMark)
proc collectZCT(gch: var GcHeap): bool =