stage3/forced_narrow_candidate_datatypes.cc
changeset 693 51a2fa6441b9
parent 691 958454e9e40f
child 1041 56ebe2a31b5b
--- a/stage3/forced_narrow_candidate_datatypes.cc	Thu Oct 25 18:51:55 2012 +0100
+++ b/stage3/forced_narrow_candidate_datatypes.cc	Fri Oct 26 10:11:28 2012 +0100
@@ -123,7 +123,7 @@
 void forced_narrow_candidate_datatypes_c::forced_narrow_il_instruction(symbol_c *symbol, std::vector <symbol_c *> &next_il_instruction) {
   if (NULL == symbol->datatype) {
     if (symbol->candidate_datatypes.empty()) {
-      symbol->datatype = &(search_constant_type_c::invalid_type_name); // This will occur in the situations (a) in the above example
+      symbol->datatype = &(get_datatype_info_c::invalid_type_name); // This will occur in the situations (a) in the above example
       // return NULL; // No need to return control to the visit() method of the base class... But we do so, just to be safe (called at the end of this function)!
     } else {
       if (next_il_instruction.empty()) {