From f85b92f8dbebe19b16aa174760f43896e1192d30 Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Sat, 9 Nov 2024 13:14:48 -0800 Subject: [PATCH] Improve next{Physical,Logical} codegen --- ConflictSet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ConflictSet.cpp b/ConflictSet.cpp index 57ae817..b82e748 100644 --- a/ConflictSet.cpp +++ b/ConflictSet.cpp @@ -1734,7 +1734,7 @@ Node *nextPhysical(Node *node) { if (node == nullptr) { return nullptr; } - auto nextChild = getChildGeq(node, index + 1); + Node *nextChild = getChildGeq(node, index + 1); if (nextChild != nullptr) { return nextChild; } @@ -1753,7 +1753,7 @@ Node *nextLogical(Node *node) { if (node == nullptr) { return nullptr; } - auto nextChild = getChildGeq(node, index + 1); + Node *nextChild = getChildGeq(node, index + 1); if (nextChild != nullptr) { node = nextChild; goto downLeftSpine;