equal
deleted
inserted
replaced
853 il_operand->accept(*this); |
853 il_operand->accept(*this); |
854 return NULL; |
854 return NULL; |
855 } |
855 } |
856 |
856 |
857 void *narrow_candidate_datatypes_c::visit(ST_operator_c *symbol) { |
857 void *narrow_candidate_datatypes_c::visit(ST_operator_c *symbol) { |
858 if (debug) printf("narrow_candidate_datatypes_c::visit(ST_operator_c *symbol) called.\n"); |
|
859 if (symbol->candidate_datatypes.size() != 1) |
858 if (symbol->candidate_datatypes.size() != 1) |
860 return NULL; |
859 return NULL; |
861 symbol->datatype = symbol->candidate_datatypes[0]; |
860 symbol->datatype = symbol->candidate_datatypes[0]; |
862 /* set the datatype for the operand */ |
861 /* set the datatype for the operand */ |
863 il_operand->datatype = symbol->datatype; |
862 il_operand->datatype = symbol->datatype; |