about summary refs log tree commit diff stats
path: root/cpp/037call_reply
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/037call_reply')
-rw-r--r--cpp/037call_reply2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/037call_reply b/cpp/037call_reply
index 97e93fe3..adf75c7e 100644
--- a/cpp/037call_reply
+++ b/cpp/037call_reply
@@ -27,7 +27,7 @@ case REPLY: {
   }
   Current_routine->calls.pop();
   assert(!Current_routine->calls.empty());
-  size_t& caller_pc = Current_routine->calls.top().pc;
+  size_t& caller_pc = Current_routine->calls.top().running_step_index;
   instruction& caller_instruction = Recipe[Current_routine->calls.top().running_recipe].steps[caller_pc];
   assert(caller_instruction.products.size() <= callee_results.size());
   for (size_t i = 0; i < caller_instruction.products.size(); ++i) {