stage3/narrow_candidate_datatypes.hh
changeset 836 149398f525a7
parent 827 e3800aff352c
child 838 13ea7c080018
equal deleted inserted replaced
835:182036ed6475 836:149398f525a7
    70     il_instruction_c   *current_il_instruction;
    70     il_instruction_c   *current_il_instruction;
    71 
    71 
    72     bool is_widening_compatible(const struct widen_entry widen_table[], symbol_c *left_type, symbol_c *right_type, symbol_c *result_type, bool *deprecated_status = NULL);
    72     bool is_widening_compatible(const struct widen_entry widen_table[], symbol_c *left_type, symbol_c *right_type, symbol_c *result_type, bool *deprecated_status = NULL);
    73 
    73 
    74     void  narrow_function_invocation(symbol_c *f_call, generic_function_call_t fcall_data);
    74     void  narrow_function_invocation(symbol_c *f_call, generic_function_call_t fcall_data);
    75     void  narrow_nonformal_call(symbol_c *f_call, symbol_c *f_decl, int *ext_parm_count = NULL);
    75     void  narrow_nonformal_call     (symbol_c *f_call, symbol_c *f_decl, int *ext_parm_count = NULL);
    76     void  narrow_formal_call(symbol_c *f_call, symbol_c *f_decl, int *ext_parm_count = NULL);
    76     void  narrow_formal_call        (symbol_c *f_call, symbol_c *f_decl, int *ext_parm_count = NULL);
    77     void *narrow_implicit_il_fb_call(symbol_c *il_instruction, const char *param_name, symbol_c *&called_fb_declaration);
    77     void *narrow_implicit_il_fb_call(symbol_c *il_instruction, const char *param_name, symbol_c *&called_fb_declaration);
    78 
    78 
    79     void *handle_il_instruction(symbol_c *symbol);
    79     void *set_il_operand_datatype   (symbol_c *il_operand, symbol_c *datatype);
       
    80     void *handle_il_instruction     (symbol_c *symbol);
    80     void *narrow_binary_operator    (const struct widen_entry widen_table[], symbol_c *symbol,                                     bool *deprecated_operation = NULL);
    81     void *narrow_binary_operator    (const struct widen_entry widen_table[], symbol_c *symbol,                                     bool *deprecated_operation = NULL);
    81     void *narrow_binary_expression  (const struct widen_entry widen_table[], symbol_c *symbol, symbol_c *l_expr, symbol_c *r_expr, bool *deprecated_operation = NULL, bool allow_enums = false);
    82     void *narrow_binary_expression  (const struct widen_entry widen_table[], symbol_c *symbol, symbol_c *l_expr, symbol_c *r_expr, bool *deprecated_operation = NULL, bool allow_enums = false);
    82     void *narrow_equality_comparison(const struct widen_entry widen_table[], symbol_c *symbol, symbol_c *l_expr, symbol_c *r_expr, bool *deprecated_operation = NULL);
    83     void *narrow_equality_comparison(const struct widen_entry widen_table[], symbol_c *symbol, symbol_c *l_expr, symbol_c *r_expr, bool *deprecated_operation = NULL);
    83 
    84 
    84     void *narrow_spec_init(symbol_c *symbol, symbol_c *type_decl, symbol_c *init_value);
    85     void *narrow_spec_init(symbol_c *symbol, symbol_c *type_decl, symbol_c *init_value);