diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-24 15:45:09 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-24 15:45:09 -0700 |
commit | 012d2ee18de5daa3c08efea9fc30c89d474e77c1 (patch) | |
tree | d025a7edbf6e815e0b72e371a459c185e8f9a235 /036call_ingredient.cc | |
parent | 8156110ea633b7375096ab98be85254f00f6b0b2 (diff) | |
download | mu-012d2ee18de5daa3c08efea9fc30c89d474e77c1.tar.gz |
1451 - share post-processing between all call instructions
Diffstat (limited to '036call_ingredient.cc')
-rw-r--r-- | 036call_ingredient.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/036call_ingredient.cc b/036call_ingredient.cc index fd78ce94..33c85e4d 100644 --- a/036call_ingredient.cc +++ b/036call_ingredient.cc @@ -26,12 +26,10 @@ long long int next_ingredient_to_process; :(before "End call Constructor") next_ingredient_to_process = 0; -:(replace "Current_routine->calls.push_front(call(current_instruction().operation))" following "End Primitive Recipe Implementations") -call callee(current_instruction().operation); +:(after "complete_call:") for (long long int i = 0; i < SIZE(ingredients); ++i) { - callee.ingredient_atoms.push_back(ingredients.at(i)); + Current_routine->calls.front().ingredient_atoms.push_back(ingredients.at(i)); } -Current_routine->calls.push_front(callee); :(before "End Primitive Recipe Declarations") NEXT_INGREDIENT, |