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_reply4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/037call_reply b/cpp/037call_reply
index 76e0ab9f..97e93fe3 100644
--- a/cpp/037call_reply
+++ b/cpp/037call_reply
@@ -22,8 +22,8 @@ Recipe_number["reply"] = REPLY;
 :(before "End Primitive Recipe Implementations")
 case REPLY: {
   vector<vector<int> > callee_results;
-  for (size_t i = 0; i < instructions[pc].ingredients.size(); ++i) {
-    callee_results.push_back(read_memory(instructions[pc].ingredients[i]));
+  for (size_t i = 0; i < current_instruction().ingredients.size(); ++i) {
+    callee_results.push_back(read_memory(current_instruction().ingredients[i]));
   }
   Current_routine->calls.pop();
   assert(!Current_routine->calls.empty());