diff -r 8e81d7db54be -r c062ff18d04f stage3/fill_candidate_datatypes.cc --- a/stage3/fill_candidate_datatypes.cc Thu Jul 19 13:42:05 2012 +0100 +++ b/stage3/fill_candidate_datatypes.cc Fri Jul 20 15:50:49 2012 +0100 @@ -64,9 +64,9 @@ #include #include -#define GET_CVALUE(dtype, symbol) ((symbol)->const_value_##dtype->value) -#define VALID_CVALUE(dtype, symbol) ((NULL != (symbol)->const_value_##dtype) && (symbol_c::cs_const_value == (symbol)->const_value_##dtype->status)) -#define IS_OVERFLOW(dtype, symbol) ((NULL != (symbol)->const_value_##dtype) && (symbol_c::cs_overflow == (symbol)->const_value_##dtype->status)) +#define GET_CVALUE(dtype, symbol) ((symbol)->const_value._##dtype.value) +#define VALID_CVALUE(dtype, symbol) (symbol_c::cs_const_value == (symbol)->const_value._##dtype.status) +#define IS_OVERFLOW(dtype, symbol) (symbol_c::cs_overflow == (symbol)->const_value._##dtype.status) /* set to 1 to see debug info during execution */ static int debug = 0; @@ -1198,6 +1198,7 @@ * NOT [] * However, it does not define the semantic of the NOT operation when the is specified. * We therefore consider it an error if an il_operand is specified! + * We do not need to generate an error message. This error will be caught somewhere else! */ if (NULL == prev_il_instruction) return NULL; for (unsigned int i = 0; i < prev_il_instruction->candidate_datatypes.size(); i++) {