about summary refs log tree commit diff stats
path: root/034call.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-10-28 05:50:39 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-10-28 05:51:15 -0700
commit3b795875bc7ab25e5cfa02f74b1a4428af4c0ec4 (patch)
tree3b5ac4de7382ee1ff682fd9e94a813484bb3d6d9 /034call.cc
parent3eeea0a22d16e0fcd43bd33725c0b54639d0ad14 (diff)
downloadmu-3b795875bc7ab25e5cfa02f74b1a4428af4c0ec4.tar.gz
2295 - drop first-class recipes and continuations
Making life too complex at this time.
Diffstat (limited to '034call.cc')
-rw-r--r--034call.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/034call.cc b/034call.cc
index b799b594..ee554ab6 100644
--- a/034call.cc
+++ b/034call.cc
@@ -90,7 +90,6 @@ if (Recipe.find(inst.operation) == Recipe.end()) {
 }
 :(replace{} "default:" following "End Primitive Recipe Implementations")
 default: {
-  const instruction& call_instruction = current_instruction();
   if (Recipe.find(current_instruction().operation) == Recipe.end()) {  // duplicate from Checks
     // stop running this instruction immediately
     ++current_step_index();
@@ -103,12 +102,8 @@ default: {
     assert(Trace_stream->callstack_depth < 9000);  // 9998-101 plus cushion
   }
   Current_routine->calls.push_front(call(current_instruction().operation));
-  finish_call_housekeeping(call_instruction, ingredients);
-  continue;  // not done with caller; don't increment current_step_index()
-}
-:(code)
-void finish_call_housekeeping(const instruction& call_instruction, const vector<vector<double> >& ingredients) {
   // End Call Housekeeping
+  continue;  // not done with caller; don't increment current_step_index()
 }
 
 :(scenario calling_undefined_recipe_fails)