Restore change that hurt codegen

I don't understand, but this is necessary for good codegen somehow
This commit is contained in:
2024-11-18 14:29:55 -08:00
parent a158d375f5
commit e5b9c03e77

View File

@@ -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) {