stage3/datatype_functions.hh
changeset 484 f78750994a82
parent 481 16f943328696
child 490 29f6ab0bf954
equal deleted inserted replaced
483:7f839fb100c1 484:f78750994a82
   134 extern const struct widen_entry widen_DIV_table[];
   134 extern const struct widen_entry widen_DIV_table[];
   135 extern const struct widen_entry widen_MOD_table[];
   135 extern const struct widen_entry widen_MOD_table[];
   136 extern const struct widen_entry widen_AND_table[];
   136 extern const struct widen_entry widen_AND_table[];
   137 extern const struct widen_entry widen_OR_table[];
   137 extern const struct widen_entry widen_OR_table[];
   138 extern const struct widen_entry widen_XOR_table[];
   138 extern const struct widen_entry widen_XOR_table[];
       
   139 extern const struct widen_entry widen_CMP_table[];
   139 
   140 
   140 /* Search for a datatype inside a candidate_datatypes list.
   141 /* Search for a datatype inside a candidate_datatypes list.
   141  * Returns: position of datatype in the list, or -1 if not found.
   142  * Returns: position of datatype in the list, or -1 if not found.
   142  */
   143  */
   143 int search_in_candidate_datatype_list(symbol_c *datatype, std::vector <symbol_c *> candidate_datatypes);
   144 int search_in_candidate_datatype_list(symbol_c *datatype, std::vector <symbol_c *> candidate_datatypes);