about summary refs log tree commit diff stats
path: root/037recipe.cc
diff options
context:
space:
mode:
Diffstat (limited to '037recipe.cc')
-rw-r--r--037recipe.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/037recipe.cc b/037recipe.cc
index b3f4d90f..51ad79af 100644
--- a/037recipe.cc
+++ b/037recipe.cc
@@ -60,9 +60,11 @@ case CALL: {
     trace("trace") << "indirect 'call': incrementing callstack depth to " << Trace_stream->callstack_depth << end();
     assert(Trace_stream->callstack_depth < 9000);  // 9998-101 plus cushion
   }
+  const instruction& caller_instruction = current_instruction();
   Current_routine->calls.push_front(call(ingredients.at(0).at(0)));
   ingredients.erase(ingredients.begin());  // drop the callee
-  goto call_housekeeping;
+  finish_call_housekeeping(caller_instruction, ingredients);
+  continue;
 }
 
 :(code)