stage3/narrow_candidate_datatypes.hh
changeset 1054 57c08195c962
parent 1040 e8563dcaefca
equal deleted inserted replaced
1053:e94368340160 1054:57c08195c962
    67     search_varfb_instance_type_c *search_varfb_instance_type;
    67     search_varfb_instance_type_c *search_varfb_instance_type;
    68     symbol_c *il_operand;
    68     symbol_c *il_operand;
    69     il_instruction_c *fake_prev_il_instruction;
    69     il_instruction_c *fake_prev_il_instruction;
    70     il_instruction_c   *current_il_instruction;
    70     il_instruction_c   *current_il_instruction;
    71 
    71 
       
    72   protected:  
       
    73     virtual void set_datatype_in_prev_il_instructions(symbol_c *datatype, il_instruction_c *symbol);
       
    74 
       
    75   private:
    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);
    76     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 
    77 
    74     void *narrow_spec_init           (symbol_c *symbol, symbol_c *type_decl, symbol_c *init_value);
    78     void *narrow_spec_init           (symbol_c *symbol, symbol_c *type_decl, symbol_c *init_value);
    75     void *narrow_type_decl           (symbol_c *symbol, symbol_c *type_name, symbol_c *spec_init);
    79     void *narrow_type_decl           (symbol_c *symbol, symbol_c *type_name, symbol_c *spec_init);
    76     void  narrow_function_invocation (symbol_c *f_call, generic_function_call_t fcall_data);
    80     void  narrow_function_invocation (symbol_c *f_call, generic_function_call_t fcall_data);