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 /053recipe_header.cc | |
parent | 292ccba1bbdc8c2ec6cfacefa15f19c8d215b58c (diff) | |
download | mu-636837e7d9733206cba3a1947ec46d4f003b93ce.tar.gz |
4086 - back to cleaning up delimited continuations
Diffstat (limited to '053recipe_header.cc')
-rw-r--r-- | 053recipe_header.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/053recipe_header.cc b/053recipe_header.cc index 54bc452e..9e01db42 100644 --- a/053recipe_header.cc +++ b/053recipe_header.cc @@ -291,7 +291,7 @@ void check_calls_against_header(const recipe_ordinal r) { trace(9991, "transform") << "--- type-check calls inside recipe " << caller.name << end(); for (int i = 0; i < SIZE(caller.steps); ++i) { const instruction& inst = caller.steps.at(i); - if (inst.operation < MAX_PRIMITIVE_RECIPES) continue; + if (is_primitive(inst.operation)) continue; const recipe& callee = get(Recipe, inst.operation); if (!callee.has_header) continue; for (long int i = 0; i < min(SIZE(inst.ingredients), SIZE(callee.ingredients)); ++i) { |