about summary refs log tree commit diff stats
path: root/035call.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-24 15:45:09 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-24 15:45:09 -0700
commit012d2ee18de5daa3c08efea9fc30c89d474e77c1 (patch)
treed025a7edbf6e815e0b72e371a459c185e8f9a235 /035call.cc
parent8156110ea633b7375096ab98be85254f00f6b0b2 (diff)
downloadmu-012d2ee18de5daa3c08efea9fc30c89d474e77c1.tar.gz
1451 - share post-processing between all call instructions
Diffstat (limited to '035call.cc')
-rw-r--r--035call.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/035call.cc b/035call.cc
index 91609312..3b574cc2 100644
--- a/035call.cc
+++ b/035call.cc
@@ -84,9 +84,10 @@ default: {
     raise << "undefined operation " << current_instruction().operation << ": " << current_instruction().to_string() << '\n';
     break;
   }
+  Current_routine->calls.push_front(call(current_instruction().operation));
+complete_call:
   ++Callstack_depth;
   assert(Callstack_depth < 9000);  // 9998-101 plus cushion
-  Current_routine->calls.push_front(call(current_instruction().operation));
   continue;  // not done with caller; don't increment current_step_index()
 }