Commit cbac1b4e authored by Camil Staps's avatar Camil Staps 🍃

Keep return label in memory during entire interpret() call (prevents segfault caused by 6c776c0b)

parent 11d6254c
Pipeline #23179 passed with stages
in 13 minutes and 3 seconds
......@@ -442,11 +442,12 @@ int interpret(
}
#endif
BC_WORD ret;
if (_pc != NULL) {
#ifdef COMPUTED_GOTOS
BC_WORD ret=(BC_WORD)&&eval_to_hnf_return;
ret=(BC_WORD)&&eval_to_hnf_return;
#else
BC_WORD ret=EVAL_TO_HNF_LABEL;
ret=EVAL_TO_HNF_LABEL;
#endif
*++csp=(BC_WORD)&ret;
pc=_pc;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment