equal
deleted
inserted
replaced
51 |
51 |
52 #define STAGE4_ERROR(symbol1, symbol2, ...) {stage4err("while generating C code", symbol1, symbol2, __VA_ARGS__); exit(EXIT_FAILURE);} |
52 #define STAGE4_ERROR(symbol1, symbol2, ...) {stage4err("while generating C code", symbol1, symbol2, __VA_ARGS__); exit(EXIT_FAILURE);} |
53 |
53 |
54 |
54 |
55 /* Macros to access the constant value of each expression (if it exists) from the annotation introduced to the symbol_c object by constant_folding_c in stage3! */ |
55 /* Macros to access the constant value of each expression (if it exists) from the annotation introduced to the symbol_c object by constant_folding_c in stage3! */ |
56 #define VALID_CVALUE(dtype, symbol) (symbol_c::cs_const_value == (symbol)->const_value._##dtype.status) |
56 #define VALID_CVALUE(dtype, symbol) ((symbol)->const_value._##dtype.is_valid()) |
57 #define GET_CVALUE(dtype, symbol) ((symbol)->const_value._##dtype.value) |
57 #define GET_CVALUE(dtype, symbol) ((symbol)->const_value._##dtype.get()) |
58 |
58 |
59 |
59 |
60 |
60 |
61 /***********************************************************************/ |
61 /***********************************************************************/ |
62 |
62 |