diff options
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r-- | gcc/gimple.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h index a548a5b..33e790c 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -1564,20 +1564,12 @@ gimple_set_has_volatile_ops (gimple stmt, bool volatilep) stmt->gsbase.has_volatile_ops = (unsigned) volatilep; } -/* Return true if BB is in a transaction. */ - -static inline bool -block_in_transaction (basic_block bb) -{ - return flag_tm && bb->flags & BB_IN_TRANSACTION; -} - /* Return true if STMT is in a transaction. */ static inline bool gimple_in_transaction (gimple stmt) { - return block_in_transaction (gimple_bb (stmt)); + return bb_in_transaction (gimple_bb (stmt)); } /* Return true if statement STMT may access memory. */ |