diff options
author | Tom de Vries <tom@codesourcery.com> | 2013-11-14 00:10:24 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2013-11-14 00:10:24 +0000 |
commit | d5ae1c255dcb4c19c7e3cbe77c0f62f9c998b109 (patch) | |
tree | 9399a3d930c606d932f13d9c33e08e1b075ecf66 /gcc/gimple.h | |
parent | 2f1aee044cb8edb759a20f6cace56fad368d35fa (diff) | |
download | gcc-d5ae1c255dcb4c19c7e3cbe77c0f62f9c998b109.zip gcc-d5ae1c255dcb4c19c7e3cbe77c0f62f9c998b109.tar.gz gcc-d5ae1c255dcb4c19c7e3cbe77c0f62f9c998b109.tar.bz2 |
Add is_tm_ending
2013-11-14 Tom de Vries <tom@codesourcery.com>
* trans-mem.c (is_tm_ending): New function.
* gimple.h (is_tm_ending): Declare.
* tree-ssa-tail-merge.c (gimple_equal_p): Remove test on
BUILT_IN_TM_COMMIT.
(find_duplicate): Use is_tm_ending instead of is_tm_ending_fndecl.
From-SVN: r204765
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r-- | gcc/gimple.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h index db24800..9ed3238 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -957,6 +957,7 @@ extern bool infer_nonnull_range (gimple, tree); /* In trans-mem.c. */ extern void diagnose_tm_safe_errors (tree); extern void compute_transaction_bits (void); +extern bool is_tm_ending (gimple); /* In tree-nested.c. */ extern void lower_nested_functions (tree); |