about summary refs log tree commit diff stats
path: root/026call.cc
diff options
context:
space:
mode:
authorStephen Malina <stephenmalina@gmail.com>2016-07-06 18:47:37 -0700
committerStephen Malina <stephenmalina@gmail.com>2016-07-06 18:59:34 -0700
commitd8c6265df6938561bfa8154e3ab93b458aafe744 (patch)
tree3a09794fc3880036e308e270db923b1d807aa380 /026call.cc
parent6b2f2ed303ceffa78a10f51bd613f19884501296 (diff)
downloadmu-d8c6265df6938561bfa8154e3ab93b458aafe744.tar.gz
3105
Add number-of-instructions recipe to Mu
Diffstat (limited to '026call.cc')
-rw-r--r--026call.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/026call.cc b/026call.cc
index dd240936..dd3b5968 100644
--- a/026call.cc
+++ b/026call.cc
@@ -161,7 +161,7 @@ while (current_step_index() >= SIZE(Current_routine->steps())) {
     assert(Trace_stream->callstack_depth >= 0);
   }
   Current_routine->calls.pop_front();
-  if (Current_routine->calls.empty()) return;
+  if (Current_routine->calls.empty()) goto stop_running_current_routine;
   // Complete Call Fallthrough
   // todo: fail if no products returned
   ++current_step_index();