stage3/narrow_candidate_datatypes.cc
changeset 534 d13a38011af4
parent 515 fdef852a6565
child 552 3c39d80fdede
equal deleted inserted replaced
533:dd93707c482e 534:d13a38011af4
   648 	 * we create a new ____ symbol_c ____ object, and copy the relevant info to/from that object before/after
   648 	 * we create a new ____ symbol_c ____ object, and copy the relevant info to/from that object before/after
   649 	 * the call to handle_function_call().
   649 	 * the call to handle_function_call().
   650 	 *
   650 	 *
   651 	 * However, if no further paramters are given, then il_operand_list will be NULL, and we will
   651 	 * However, if no further paramters are given, then il_operand_list will be NULL, and we will
   652 	 * need to create a new object to hold the pointer to prev_il_instruction.
   652 	 * need to create a new object to hold the pointer to prev_il_instruction.
   653 	 * This change will also be undone later in print_datatypes_error_c.
   653 	 * This change will also be undone at the end of this method.
   654 	 */
   654 	 */
   655 	symbol_c param_value = *fake_prev_il_instruction; /* copy the candidate_datatypes list */
   655 	symbol_c param_value = *fake_prev_il_instruction; /* copy the candidate_datatypes list */
   656 	if (NULL == symbol->il_operand_list)  symbol->il_operand_list = new il_operand_list_c;
   656 	if (NULL == symbol->il_operand_list)  symbol->il_operand_list = new il_operand_list_c;
   657 	if (NULL == symbol->il_operand_list)  ERROR;
   657 	if (NULL == symbol->il_operand_list)  ERROR;
   658 
   658