fixes serious regression

This commit is contained in:
Andreas Rumpf
2016-09-24 02:52:16 +02:00
parent 2569a58f08
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: