diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-10-18 20:08:05 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-10-18 20:08:05 -0700 |
commit | 636837e7d9733206cba3a1947ec46d4f003b93ce (patch) | |
tree | fcb906988cf3fa872253bfad1e7daa23e9567c23 /056shape_shifting_recipe.cc | |
parent | 292ccba1bbdc8c2ec6cfacefa15f19c8d215b58c (diff) | |
download | mu-636837e7d9733206cba3a1947ec46d4f003b93ce.tar.gz |
4086 - back to cleaning up delimited continuations
Diffstat (limited to '056shape_shifting_recipe.cc')
-rw-r--r-- | 056shape_shifting_recipe.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/056shape_shifting_recipe.cc b/056shape_shifting_recipe.cc index 7f74136d..917fce5c 100644 --- a/056shape_shifting_recipe.cc +++ b/056shape_shifting_recipe.cc @@ -75,7 +75,7 @@ skip_shape_shifting_variants:; //: recipes can be called :(before "End Instruction Operation Checks") -if (contains_key(Recipe, inst.operation) && inst.operation >= MAX_PRIMITIVE_RECIPES +if (contains_key(Recipe, inst.operation) && !is_primitive(inst.operation) && any_type_ingredient_in_header(inst.operation)) { raise << maybe(caller.name) << "instruction '" << inst.name << "' has no valid specialization\n" << end(); return; |