Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- linearize.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/linearize.h b/linearize.h index bac82d7ff..c704b87b4 100644 --- a/linearize.h +++ b/linearize.h @@ -45,6 +45,13 @@ extern struct pseudo void_pseudo; #define VOID (&void_pseudo) + +static inline int is_pseudo_value(pseudo_t p, long long value) +{ + return p->type == PSEUDO_VAL && p->value == value; +} + + struct multijmp { struct basic_block *target; int begin, end; -- 2.13.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html