summaryrefslogtreecommitdiff
path: root/gcc/integrate.h
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-15 03:02:24 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-15 03:02:24 +0000
commit66c6aab237d94ccf396515b35872e4c74ee39cd4 (patch)
treefc5ff2b3569ac8524c310ed350940c212918d81a /gcc/integrate.h
parent13f9ea8de2dfb691dd6ad8fc6c0e3d245b161cb4 (diff)
downloadgcc-66c6aab237d94ccf396515b35872e4c74ee39cd4.tar.gz
* integrate.c (get_hard_reg_initial_reg): New.
* integrate.h (get_hard_reg_initial_reg): Prototype. * local-alloc.c (block_alloc): Don't tie pseudos that represent call-saved hard regs' initial values. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47037 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/integrate.h')
-rw-r--r--gcc/integrate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/integrate.h b/gcc/integrate.h
index c96d0112af4..9ddefefc956 100644
--- a/gcc/integrate.h
+++ b/gcc/integrate.h
@@ -140,6 +140,9 @@ extern rtx get_func_hard_reg_initial_val PARAMS ((struct function *, rtx));
extern rtx has_func_hard_reg_initial_val PARAMS ((struct function *, rtx));
/* Likewise, but for common cases. */
extern rtx has_hard_reg_initial_val PARAMS ((enum machine_mode, int));
+/* If a pseudo represents an initial hard reg (or expression), return
+ it, else return NULL_RTX. */
+extern rtx get_hard_reg_initial_reg PARAMS ((struct function *, rtx));
/* This is for GC. */
extern void mark_hard_reg_initial_vals PARAMS ((struct function *));
/* Called from rest_of_compilation. */