about summary refs log tree commit diff stats
path: root/cpp/025trace
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/025trace')
-rw-r--r--cpp/025trace8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/025trace b/cpp/025trace
index 017c24b9..ae06cb8b 100644
--- a/cpp/025trace
+++ b/cpp/025trace
@@ -12,10 +12,10 @@ TRACE,
 Recipe_number["trace"] = TRACE;
 :(before "End Primitive Recipe Implementations")
 case TRACE: {
-  assert(isa_literal(instructions[pc].ingredients[0]));
-  string label = instructions[pc].ingredients[0].name;
-  assert(isa_literal(instructions[pc].ingredients[1]));
-  string message = instructions[pc].ingredients[1].name;
+  assert(isa_literal(current_instruction().ingredients[0]));
+  string label = current_instruction().ingredients[0].name;
+  assert(isa_literal(current_instruction().ingredients[1]));
+  string message = current_instruction().ingredients[1].name;
   trace(label) << message;
   break;
 }