# HG changeset patch # User Mario de Sousa # Date 1331290316 0 # Node ID 46f8154d506eb6bb4afbb43e082705ff188e96a0 # Parent 4910eaa1206a0bfe0ad05edeae19806dde5f735b Delete unecessary copy_candidate_datatype_list() function. diff -r 4910eaa1206a -r 46f8154d506e stage3/datatype_functions.cc --- a/stage3/datatype_functions.cc Thu Mar 08 19:14:45 2012 +0000 +++ b/stage3/datatype_functions.cc Fri Mar 09 10:51:56 2012 +0000 @@ -221,7 +221,7 @@ if (symbol->prev_il_instruction.empty()) return; - copy_candidate_datatype_list(symbol->prev_il_instruction[0] /*from*/, symbol /*to*/); + symbol->candidate_datatypes = symbol->prev_il_instruction[0]->candidate_datatypes; for (unsigned int i = 1; i < symbol->prev_il_instruction.size(); i++) { intersect_candidate_datatype_list(symbol /*origin, dest.*/, symbol->prev_il_instruction[i] /*with*/); }