diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2012-05-21 18:02:17 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2012-05-21 18:02:17 +0000 |
commit | 83e1a7f080f91f7cc1bb7916cd15779f685c7697 (patch) | |
tree | 7d77d20baeae4084708dde20bb2b440ed8aa0bf1 /gcc/basic-block.h | |
parent | 0ac65d04f460ef0d2275d680d251f22a77216a5b (diff) | |
download | gcc-83e1a7f080f91f7cc1bb7916cd15779f685c7697.zip gcc-83e1a7f080f91f7cc1bb7916cd15779f685c7697.tar.gz gcc-83e1a7f080f91f7cc1bb7916cd15779f685c7697.tar.bz2 |
gimple.h (gimple_set_in_transaction): Remove.
* gimple.h (gimple_set_in_transaction): Remove.
(gimple_in_transaction): Look in BB instead.
(gimple_statement_base): Remove in_transaction field.
* basic-block.h (enum bb_flags): Add BB_IN_TRANSACTION.
* trans-mem.c (compute_transaction_bits): Place transaction bit
information into basic blocks.
From-SVN: r187729
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r-- | gcc/basic-block.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h index f0eeba7..3aa3a78 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -263,7 +263,12 @@ enum bb_flags BB_MODIFIED = 1 << 12, /* A general visited flag for passes to use. */ - BB_VISITED = 1 << 13 + BB_VISITED = 1 << 13, + + /* Set on blocks that are in a transaction. This is calculated on + demand, and is available after calling + compute_transaction_bits(). */ + BB_IN_TRANSACTION = 1 << 14 }; /* Dummy flag for convenience in the hot/cold partitioning code. */ |