Commit 6c776c0b authored by Camil Staps's avatar Camil Staps 🍃

Remove unnecessary malloc in interpret()

parent 1b61fc9f
......@@ -443,13 +443,12 @@ int interpret(
#endif
if (_pc != NULL) {
BC_WORD *ret=safe_malloc(sizeof(BC_WORD));
#ifdef COMPUTED_GOTOS
*ret=(BC_WORD)&&eval_to_hnf_return;
BC_WORD ret=(BC_WORD)&&eval_to_hnf_return;
#else
*ret=EVAL_TO_HNF_LABEL;
BC_WORD ret=EVAL_TO_HNF_LABEL;
#endif
*++csp=(BC_WORD)ret;
*++csp=(BC_WORD)&ret;
pc=_pc;
if (0) {
......
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