Restore change that hurt codegen
I don't understand, but this is necessary for good codegen somehow
This commit is contained in:
@@ -971,7 +971,8 @@ int getNodeIndex(Node3 *n, uint8_t index) {
|
|||||||
return -1;
|
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 >= 1);
|
||||||
assume(n->numChildren <= 3);
|
assume(n->numChildren <= 3);
|
||||||
for (int i = 0; i < n->numChildren; ++i) {
|
for (int i = 0; i < n->numChildren; ++i) {
|
||||||
|
Reference in New Issue
Block a user