Be more consistent about TaggedNodePointer vs Node*
This commit is contained in:
@@ -1695,7 +1695,7 @@ TaggedNodePointer &getOrCreateChild(TaggedNodePointer &self, TrivialSpan &key,
|
|||||||
}
|
}
|
||||||
|
|
||||||
Node *nextPhysical(Node *node) {
|
Node *nextPhysical(Node *node) {
|
||||||
auto nextChild = getFirstChild(node);
|
Node *nextChild = getFirstChild(node);
|
||||||
if (nextChild != nullptr) {
|
if (nextChild != nullptr) {
|
||||||
return nextChild;
|
return nextChild;
|
||||||
}
|
}
|
||||||
@@ -1713,7 +1713,7 @@ Node *nextPhysical(Node *node) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Node *nextLogical(Node *node) {
|
Node *nextLogical(Node *node) {
|
||||||
auto nextChild = getFirstChild(node);
|
Node *nextChild = getFirstChild(node);
|
||||||
if (nextChild != nullptr) {
|
if (nextChild != nullptr) {
|
||||||
node = nextChild;
|
node = nextChild;
|
||||||
goto downLeftSpine;
|
goto downLeftSpine;
|
||||||
|
|||||||
Reference in New Issue
Block a user