fixes serious regression

This commit is contained in:
Andreas Rumpf 2016-09-24 02:52:16 +02:00
commit ffb812521d

View file

@ -52,7 +52,7 @@ proc split(t: var PAvlNode) =
inc t.level
proc add(a: var MemRegion, t: var PAvlNode, key, upperBound: int) {.benign.} =
if t == bottom:
if t.isBottom:
t = allocAvlNode(a, key, upperBound)
else:
if key <% t.key: