From 3c4c9c08071b55a45bfe99a5609cab48d9013b31 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 7 Feb 2017 00:07:16 -0800 Subject: 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. --- 062convert_ingredients_to_text.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '062convert_ingredients_to_text.cc') 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& 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)); -- cgit 1.4.1-2-gfad0