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

Function set_case_last_flag

src/simplicity/eval.c:257–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257static inline void set_case_last_flag(call *stack, bool flag) {
258 if (flag) {
259 stack->flags |= FLAG_LAST_CASE;
260 } else {
261 stack->flags &= (flags_type)(~FLAG_LAST_CASE);
262 }
263}
264
265/* Starting from the Bit Machine 'state',
266 * run the machine with the TCO (off) program generated by the well-typed Simplicity expression 'dag[len]' of type 'A |- B'.

Callers 1

runTCOFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected