bugfix: endless recursion in 'semAfterMacroCall'

This commit is contained in:
Araq 2012-01-13 15:17:43 +01:00
commit 69997af8e9
2 changed files with 5 additions and 1 deletions

View file

@ -562,7 +562,6 @@ proc rawAlloc0(a: var TMemRegion, requestedSize: int): pointer =
proc rawDealloc(a: var TMemRegion, p: pointer) =
sysAssert(allocInv(a), "rawDealloc: begin")
sysAssert(isAllocatedPtr(a, p), "rawDealloc: no allocated pointer!")
var c = pageAddr(p)
if isSmallChunk(c):
# `p` is within a small chunk: