| 167 | } |
| 168 | |
| 169 | static inline size_t CASE_A(const dag_node* dag, const type* type_dag, size_t i) { |
| 170 | simplicity_debug_assert(CASE == dag[i].tag || ASSERTL == dag[i].tag || ASSERTR == dag[i].tag); |
| 171 | simplicity_debug_assert(PRODUCT == type_dag[dag[i].sourceType].kind); |
| 172 | simplicity_debug_assert(SUM == type_dag[type_dag[dag[i].sourceType].typeArg[0]].kind); |
| 173 | return type_dag[type_dag[dag[i].sourceType].typeArg[0]].typeArg[0]; |
| 174 | } |
| 175 | |
| 176 | static inline size_t CASE_B(const dag_node* dag, const type* type_dag, size_t i) { |
| 177 | simplicity_debug_assert(CASE == dag[i].tag || ASSERTL == dag[i].tag || ASSERTR == dag[i].tag); |
no outgoing calls
no test coverage detected