From e5b9c03e771dc8bbf5944a1932daa5f5fe649819 Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Mon, 18 Nov 2024 14:29:55 -0800 Subject: [PATCH] Restore change that hurt codegen I don't understand, but this is necessary for good codegen somehow --- ConflictSet.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ConflictSet.cpp b/ConflictSet.cpp index 4da8aa9..f76f21e 100644 --- a/ConflictSet.cpp +++ b/ConflictSet.cpp @@ -971,7 +971,8 @@ int getNodeIndex(Node3 *n, uint8_t index) { return -1; } -int getNodeIndexExists(Node3 *n, uint8_t index) { +int getNodeIndexExists(Node3 *self, uint8_t index) { + Node3 *n = (Node3 *)self; assume(n->numChildren >= 1); assume(n->numChildren <= 3); for (int i = 0; i < n->numChildren; ++i) {