aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-10-09 22:04:10 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2008-10-09 22:04:10 +0200
commit1692ae7eda60ea567bcd8e8bae40b6f20db5d82a (patch)
tree0169af2955472328d5f862f7396b198dfc82b215 /gcc/rtl.h
parente81897731e2232b88f735bf8b8ce319d76983b51 (diff)
downloadgcc-1692ae7eda60ea567bcd8e8bae40b6f20db5d82a.zip
gcc-1692ae7eda60ea567bcd8e8bae40b6f20db5d82a.tar.gz
gcc-1692ae7eda60ea567bcd8e8bae40b6f20db5d82a.tar.bz2
rtl.h (locator_eq): New decl.
* 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. From-SVN: r141009
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index fd855e9..118025a 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 */