Add is_undefined() method to const_value_c
authormjsousa
Sun, 28 Dec 2014 12:04:07 +0000
changeset 978 efab3a94d3c0
parent 977 4612cf723c6a
child 979 f8f1d89ff7d5
Add is_undefined() method to const_value_c
absyntax/absyntax.hh
--- a/absyntax/absyntax.hh	Sun Dec 28 07:34:18 2014 +0000
+++ b/absyntax/absyntax.hh	Sun Dec 28 12:04:07 2014 +0000
@@ -125,6 +125,7 @@
       bool       is_valid    (void)     {return (status == cs_const_value);}
       bool       is_overflow (void)     {return (status == cs_overflow   );}
       bool       is_nonconst (void)     {return (status == cs_non_const  );}
+      bool       is_undefined(void)     {return (status == cs_undefined  );}
       bool       is_zero     (void)     {return (is_valid() && (get() == 0));}
     };