about summary refs log tree commit diff stats
path: root/037new.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-02-19 14:50:44 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-02-19 14:50:44 -0800
commit6cc999ae812b835786f08a0b8d958a545c3d8ef0 (patch)
tree6eb40a9e71d4cc24a3a34c56aa471ca0b49c32b6 /037new.cc
parent8a3d101e3d617107596c3eed393571eb5cbddbd6 (diff)
downloadmu-6cc999ae812b835786f08a0b8d958a545c3d8ef0.tar.gz
2670 - better names for string conversions
  to_string(): relatively stable fields only; for trace()
  debug_string(): all fields; for debugging
  inspect(): for a form that can be parsed back later
Diffstat (limited to '037new.cc')
-rw-r--r--037new.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/037new.cc b/037new.cc
index 05d8a3e7..fdda83fb 100644
--- a/037new.cc
+++ b/037new.cc
@@ -135,7 +135,7 @@ void transform_new_to_allocate(const recipe_ordinal r) {
       // End Post-processing(type_name) When Converting 'new'
       type_tree* type = new_type_tree(type_name);
       inst.ingredients.at(0).set_value(size_of(type));
-      trace(9992, "new") << "size of " << debug_string(type_name) << " is " << inst.ingredients.at(0).value << end();
+      trace(9992, "new") << "size of " << to_string(type_name) << " is " << inst.ingredients.at(0).value << end();
       delete type;
       delete type_name;
     }