diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-10-09 20:04:10 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-10-09 20:04:10 +0000 |
commit | fc6ce27c03b66a30e70293d4a4ebed684a5065df (patch) | |
tree | 0169af2955472328d5f862f7396b198dfc82b215 /gcc/rtl.h | |
parent | f1b523fe77bddb69aca0162770e9f27efbda1897 (diff) | |
download | gcc-fc6ce27c03b66a30e70293d4a4ebed684a5065df.tar.gz |
* rtl.h (locator_eq): New decl.
* cfglayout.c (locator_scope): New function.
(insn_scope): Use it.
(locator_eq): New function.
(fixup_reorder_chain): Search for last insn in src bb
that has locator set or first insn in dest bb. Use
locator_eq instead of == to compare locators.
* cfgrtl.c (cfg_layout_merge_blocks): Likewise.
* cfgcleanup.c (try_forward_edges): Use locator_eq instead of
== to compare locators.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141009 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h index fd855e9c650..118025a4ff0 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -1639,6 +1639,7 @@ extern int insn_line (const_rtx); extern const char * insn_file (const_rtx); extern int locator_line (int); extern const char * locator_file (int); +extern bool locator_eq (int, int); extern int prologue_locator, epilogue_locator; /* In jump.c */ |