| 779 | } |
| 780 | |
| 781 | static cbm_expr_t *expr_leaf(cbm_condition_t c) { |
| 782 | cbm_expr_t *e = calloc(CBM_ALLOC_ONE, sizeof(cbm_expr_t)); |
| 783 | e->type = EXPR_CONDITION; |
| 784 | e->cond = c; |
| 785 | return e; |
| 786 | } |
| 787 | |
| 788 | static cbm_expr_t *expr_binary(cbm_expr_type_t type, cbm_expr_t *left, cbm_expr_t *right) { |
| 789 | cbm_expr_t *e = calloc(CBM_ALLOC_ONE, sizeof(cbm_expr_t)); |
no outgoing calls
no test coverage detected