diff options
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r-- | gcc/gimple.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h index aefccaaeab7..523619204bc 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -179,11 +179,6 @@ struct GTY(()) gimple_statement_base { /* Nonzero if this statement contains volatile operands. */ unsigned has_volatile_ops : 1; - /* Nonzero if this statement appears inside a transaction. This bit - is calculated on de-mand and has relevant information only after - it has been calculated with compute_transaction_bits. */ - unsigned in_transaction : 1; - /* The SUBCODE field can be used for tuple-specific flags for tuples that do not require subcodes. Note that SUBCODE should be at least as wide as tree codes, as several tuples store tree codes @@ -1598,15 +1593,7 @@ gimple_set_has_volatile_ops (gimple stmt, bool volatilep) static inline bool gimple_in_transaction (gimple stmt) { - return stmt->gsbase.in_transaction; -} - -/* Set the IN_TRANSACTION flag to TRANSACTIONP. */ - -static inline void -gimple_set_in_transaction (gimple stmt, bool transactionp) -{ - stmt->gsbase.in_transaction = (unsigned) transactionp; + return gimple_bb (stmt)->flags & BB_IN_TRANSACTION; } /* Return true if statement STMT may access memory. */ |