stage3/datatype_functions.hh
changeset 481 16f943328696
parent 480 8a58d7b8b26c
child 484 f78750994a82
equal deleted inserted replaced
480:8a58d7b8b26c 481:16f943328696
   131 extern const struct widen_entry widen_ADD_table[];
   131 extern const struct widen_entry widen_ADD_table[];
   132 extern const struct widen_entry widen_SUB_table[];
   132 extern const struct widen_entry widen_SUB_table[];
   133 extern const struct widen_entry widen_MUL_table[];
   133 extern const struct widen_entry widen_MUL_table[];
   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[];
       
   137 extern const struct widen_entry widen_OR_table[];
       
   138 extern const struct widen_entry widen_XOR_table[];
   136 
   139 
   137 /* Search for a datatype inside a candidate_datatypes list.
   140 /* Search for a datatype inside a candidate_datatypes list.
   138  * Returns: position of datatype in the list, or -1 if not found.
   141  * Returns: position of datatype in the list, or -1 if not found.
   139  */
   142  */
   140 int search_in_candidate_datatype_list(symbol_c *datatype, std::vector <symbol_c *> candidate_datatypes);
   143 int search_in_candidate_datatype_list(symbol_c *datatype, std::vector <symbol_c *> candidate_datatypes);