From 67db19a05335c7fbea3ad6737303c8848fd39e74 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 15 Dec 2015 14:32:47 -0800 Subject: 2545 update html --- html/013update_operation.cc.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'html/013update_operation.cc.html') diff --git a/html/013update_operation.cc.html b/html/013update_operation.cc.html index 7a6c5f78..a84aff0d 100644 --- a/html/013update_operation.cc.html +++ b/html/013update_operation.cc.html @@ -39,15 +39,17 @@ Transform.push_back(:(code) void update_instruction_operations(recipe_ordinal r) { trace(9991, "transform") << "--- compute instruction operations for recipe " << get(Recipe, r).name << end(); -//? cerr << "--- compute instruction operations for recipe " << get(Recipe, r).name << '\n'; - for (long long int index = 0; index < SIZE(get(Recipe, r).steps); ++index) { - instruction& inst = get(Recipe, r).steps.at(index); + recipe& caller = get(Recipe, r); +//? cerr << "--- compute instruction operations for recipe " << caller.name << '\n'; + for (long long int index = 0; index < SIZE(caller.steps); ++index) { + instruction& inst = caller.steps.at(index); if (inst.is_label) continue; if (!contains_key(Recipe_ordinal, inst.name)) { - raise_error << maybe(get(Recipe, r).name) << "instruction " << inst.name << " has no recipe\n" << end(); + raise_error << maybe(caller.name) << "instruction " << inst.name << " has no recipe\n" << end(); return; } inst.operation = get(Recipe_ordinal, inst.name); + // End Instruction Operation Checks } } -- cgit 1.4.1-2-gfad0