| 135 | } |
| 136 | |
| 137 | static AR_ExpNode *_AR_EXP_NewOpNode(uint child_count) { |
| 138 | AR_ExpNode *node = rm_calloc(1, sizeof(AR_ExpNode)); |
| 139 | |
| 140 | node->type = AR_EXP_OP; |
| 141 | node->op.children = rm_malloc(child_count * sizeof(AR_ExpNode *)); |
| 142 | node->op.child_count = child_count; |
| 143 | |
| 144 | return node; |
| 145 | } |
| 146 | |
| 147 | static AR_ExpNode *_AR_EXP_CloneOp(AR_ExpNode *exp) { |
| 148 | const char *func_name = exp->op.f->name; |
no test coverage detected