stage4/generate_c/generate_c_inlinefcall.cc
changeset 1001 f6ed7dcfc53e
parent 945 477393b00f95
child 1002 45bd3e90ecec
equal deleted inserted replaced
1000:556b74055518 1001:f6ed7dcfc53e
    35       complextype_base_vg,
    35       complextype_base_vg,
    36       complextype_suffix_vg
    36       complextype_suffix_vg
    37     } variablegeneration_t;
    37     } variablegeneration_t;
    38 
    38 
    39   private:
    39   private:
    40      /* The result of the comparison IL operations (GT, EQ, LT, ...)
       
    41      * is a boolean variable.
       
    42      * This class keeps track of the current data type stored in the
       
    43      * il default variable. This is usually done by keeping a reference
       
    44      * to the data type of the last operand. Nevertheless, in the case of
       
    45      * the comparison IL operators, the data type of the result (a boolean)
       
    46      * is not the data type of the operand. We therefore need an object
       
    47      * of the boolean data type to keep as a reference of the current
       
    48      * data type.
       
    49      * The following object is it...
       
    50      */
       
    51     bool_type_name_c bool_type;
       
    52     lint_type_name_c lint_type;
       
    53     lword_type_name_c lword_type;
       
    54     lreal_type_name_c lreal_type;
       
    55 
       
    56     /* The name of the IL default variable... */
    40     /* The name of the IL default variable... */
    57     #define IL_DEFVAR   VAR_LEADER "IL_DEFVAR"
    41     #define IL_DEFVAR   VAR_LEADER "IL_DEFVAR"
    58 
    42 
    59     /* The name of the variable used to pass the result of a
    43     /* The name of the variable used to pass the result of a
    60      * parenthesised instruction list to the immediately preceding
    44      * parenthesised instruction list to the immediately preceding