diff options
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r-- | gcc/gimple.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h index 265e3e2..00a9f20 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -145,7 +145,6 @@ enum gf_mask { GF_CALL_ALLOCA_FOR_VAR = 1 << 5, GF_CALL_INTERNAL = 1 << 6, GF_CALL_CTRL_ALTERING = 1 << 7, - GF_CALL_WITH_BOUNDS = 1 << 8, GF_CALL_MUST_TAIL_CALL = 1 << 9, GF_CALL_BY_DESCRIPTOR = 1 << 10, GF_CALL_NOCF_CHECK = 1 << 11, @@ -2856,44 +2855,6 @@ gimple_call_internal_p (const gimple *gs) return gimple_call_internal_p (gc); } - -/* Return true if call GS is marked as instrumented by - Pointer Bounds Checker. */ - -static inline bool -gimple_call_with_bounds_p (const gcall *gs) -{ - return (gs->subcode & GF_CALL_WITH_BOUNDS) != 0; -} - -static inline bool -gimple_call_with_bounds_p (const gimple *gs) -{ - const gcall *gc = GIMPLE_CHECK2<const gcall *> (gs); - return gimple_call_with_bounds_p (gc); -} - - -/* If INSTRUMENTED_P is true, marm statement GS as instrumented by - Pointer Bounds Checker. */ - -static inline void -gimple_call_set_with_bounds (gcall *gs, bool with_bounds) -{ - if (with_bounds) - gs->subcode |= GF_CALL_WITH_BOUNDS; - else - gs->subcode &= ~GF_CALL_WITH_BOUNDS; -} - -static inline void -gimple_call_set_with_bounds (gimple *gs, bool with_bounds) -{ - gcall *gc = GIMPLE_CHECK2<gcall *> (gs); - gimple_call_set_with_bounds (gc, with_bounds); -} - - /* Return true if call GS is marked as nocf_check. */ static inline bool |