# HG changeset patch # User mjsousa # Date 1419768247 0 # Node ID efab3a94d3c0a0dd5ddf177322a535320069df71 # Parent 4612cf723c6a9a067b9db11e8635176b99a131f4 Add is_undefined() method to const_value_c diff -r 4612cf723c6a -r efab3a94d3c0 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));} };