Fix spellings (#12277) [backport]
This commit is contained in:
parent
9dd297f613
commit
39290cf88c
110 changed files with 166 additions and 166 deletions
|
|
@ -244,7 +244,7 @@ proc asgnRefNoCycle(dest: PPointer, src: pointer) {.compilerproc, inline,
|
|||
|
||||
proc unsureAsgnRef(dest: PPointer, src: pointer) {.compilerproc.} =
|
||||
# unsureAsgnRef updates the reference counters only if dest is not on the
|
||||
# stack. It is used by the code generator if it cannot decide wether a
|
||||
# stack. It is used by the code generator if it cannot decide whether a
|
||||
# reference is in the stack or not (this can happen for var parameters).
|
||||
if not isOnStack(dest):
|
||||
if src != nil: incRef(usrToCell(src))
|
||||
|
|
|
|||
|
|
@ -240,7 +240,7 @@ proc asgnRefNoCycle(dest: PPointer, src: pointer) {.compilerproc, inline,
|
|||
|
||||
proc unsureAsgnRef(dest: PPointer, src: pointer) {.compilerproc.} =
|
||||
# unsureAsgnRef marks 'src' as grey only if dest is not on the
|
||||
# stack. It is used by the code generator if it cannot decide wether a
|
||||
# stack. It is used by the code generator if it cannot decide whether a
|
||||
# reference is in the stack or not (this can happen for var parameters).
|
||||
if src != nil:
|
||||
let s = usrToCell(src)
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ type
|
|||
# CPU this needs to be changed:
|
||||
const
|
||||
PageShift = when defined(cpu16): 8 else: 12 # \
|
||||
# my tests showed no improvments for using larger page sizes.
|
||||
# my tests showed no improvements for using larger page sizes.
|
||||
PageSize = 1 shl PageShift
|
||||
PageMask = PageSize-1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue