fixes typo
This commit is contained in:
parent
9d1f197773
commit
d7433d02bc
1 changed files with 1 additions and 1 deletions
|
|
@ -558,7 +558,7 @@ proc growObj(old: pointer, newsize: int, gch: var GcHeap): pointer =
|
|||
# we split the old refcount in 2 parts. XXX This is still not entirely
|
||||
# correct if the pointer that receives growObj's result is on the stack.
|
||||
# A better fix would be to emit the location specific write barrier for
|
||||
# 'growObj', but this is lost of more work and who knows what new problems
|
||||
# 'growObj', but this is lots of more work and who knows what new problems
|
||||
# this would create.
|
||||
res.refcount = rcIncrement
|
||||
decRef(ol)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue