stage3/fill_candidate_datatypes.cc
changeset 965 c9eeb67ba939
parent 958 7474d2cd1d6e
child 972 bc90dd4bbf4f
equal deleted inserted replaced
964:5f4dfe6670da 965:c9eeb67ba939
    66 #include <list>
    66 #include <list>
    67 #include <string>
    67 #include <string>
    68 #include <string.h>
    68 #include <string.h>
    69 #include <strings.h>
    69 #include <strings.h>
    70 
    70 
    71 #define GET_CVALUE(dtype, symbol)             ((symbol)->const_value._##dtype.value)
    71 
    72 #define VALID_CVALUE(dtype, symbol)           (symbol_c::cs_const_value == (symbol)->const_value._##dtype.status)
    72 #define GET_CVALUE(dtype, symbol)             ((symbol)->const_value._##dtype.get())
    73 #define IS_OVERFLOW(dtype, symbol)            (symbol_c::cs_overflow == (symbol)->const_value._##dtype.status)
    73 #define VALID_CVALUE(dtype, symbol)           ((symbol)->const_value._##dtype.is_valid())
    74 
    74 #define IS_OVERFLOW(dtype, symbol)            ((symbol)->const_value._##dtype.is_overflow())
    75 
       
    76 
    75 
    77 
    76 
    78 /* set to 1 to see debug info during execution */
    77 /* set to 1 to see debug info during execution */
    79 static int debug = 0;
    78 static int debug = 0;
    80 
    79