about summary refs log tree commit diff stats
path: root/062convert_ingredients_to_text.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-02-07 00:07:16 -0800
committerKartik K. Agaram <vc@akkartik.com>2017-02-07 00:07:16 -0800
commit3c4c9c08071b55a45bfe99a5609cab48d9013b31 (patch)
tree080c35bc0d25bbf8df1e8f5d5d04c2bf1b8688f7 /062convert_ingredients_to_text.cc
parentd9e39b3b1cfac9487a9a0aee2525ea86e3e137b1 (diff)
downloadmu-3c4c9c08071b55a45bfe99a5609cab48d9013b31.tar.gz
3744
Undo 3743. Really any time we create new instructions from whole cloth
during rewriting or transform, the whole notion of 'original name' goes
out the window. Pointless trying to fight that fact of life.
Diffstat (limited to '062convert_ingredients_to_text.cc')
-rw-r--r--062convert_ingredients_to_text.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/062convert_ingredients_to_text.cc b/062convert_ingredients_to_text.cc
index fbdcc4ec..94ff5df3 100644
--- a/062convert_ingredients_to_text.cc
+++ b/062convert_ingredients_to_text.cc
@@ -115,13 +115,13 @@ void convert_ingredient_to_text(reagent& r, vector<instruction>& out, const stri
   if (is_static_array(r)) return;
   instruction def;
   if (is_lookup_of_address_of_array(r)) {
-    def.initialize_name("array-to-text-line");
+    def.name = "array-to-text-line";
     reagent/*copy*/ tmp = r;
     drop_one_lookup(tmp);
     def.ingredients.push_back(tmp);
   }
   else {
-    def.initialize_name("to-text-line");
+    def.name = "to-text-line";
     def.ingredients.push_back(r);
   }
   def.products.push_back(reagent(tmp_var));