stage3/fill_candidate_datatypes.cc
changeset 965 c9eeb67ba939
parent 958 7474d2cd1d6e
child 972 bc90dd4bbf4f
--- a/stage3/fill_candidate_datatypes.cc	Sun Dec 14 19:15:29 2014 +0000
+++ b/stage3/fill_candidate_datatypes.cc	Wed Dec 17 13:46:36 2014 +0000
@@ -68,11 +68,10 @@
 #include <string.h>
 #include <strings.h>
 
-#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)
-
-
+
+#define GET_CVALUE(dtype, symbol)             ((symbol)->const_value._##dtype.get())
+#define VALID_CVALUE(dtype, symbol)           ((symbol)->const_value._##dtype.is_valid())
+#define IS_OVERFLOW(dtype, symbol)            ((symbol)->const_value._##dtype.is_overflow())
 
 
 /* set to 1 to see debug info during execution */