MCPcopy Create free account
hub / github.com/ElementsProject/elements / get_tco_flag

Function get_tco_flag

src/simplicity/eval.c:241–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239#define FLAG_CASE_RIGHT 0x40 // For case combinators, whether the right branch has ever been executed (1) or not (0).
240
241static inline bool get_tco_flag(const call *stack) {
242 return FLAG_TCO == (stack->flags & FLAG_TCO);
243}
244
245static inline void set_tco_flag(call *stack, bool flag) {
246 if (flag) {

Callers 1

runTCOFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected