Find two more call sites for getFirstChildExists
This commit is contained in:
@@ -1882,9 +1882,7 @@ bool checkPointRead(Node *n, const std::span<const uint8_t> key,
|
|||||||
if (n->entryPresent) {
|
if (n->entryPresent) {
|
||||||
return n->entry.pointVersion <= readVersion;
|
return n->entry.pointVersion <= readVersion;
|
||||||
}
|
}
|
||||||
int c = getChildGeq(n, 0);
|
n = getFirstChildExists(n);
|
||||||
assert(c >= 0);
|
|
||||||
n = getChildExists(n, c);
|
|
||||||
goto downLeftSpine;
|
goto downLeftSpine;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3669,9 +3667,7 @@ Node *firstGeqLogical(Node *n, const std::span<const uint8_t> key) {
|
|||||||
if (n->entryPresent) {
|
if (n->entryPresent) {
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
int c = getChildGeq(n, 0);
|
n = getFirstChildExists(n);
|
||||||
assert(c >= 0);
|
|
||||||
n = getChildExists(n, c);
|
|
||||||
goto downLeftSpine;
|
goto downLeftSpine;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user