summaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-13 08:23:52 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-13 08:23:52 +0000
commit22dd9e794072ffcf1aae80e3f70569aa8b27210c (patch)
tree9653fa3549affde419152b53ccd8634a3f78da2e /gcc/expr.h
parent976bc156fc430356008450421feebb6905327cf1 (diff)
downloadgcc-22dd9e794072ffcf1aae80e3f70569aa8b27210c.tar.gz
2011-09-13 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 178804 using svnmerge. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@178805 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index 74c608ad1ae..16521866bfe 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -321,8 +321,16 @@ extern void emit_group_store (rtx, rtx, tree, int);
/* Copy BLKmode object from a set of registers. */
extern rtx copy_blkmode_from_reg (rtx, rtx, tree);
+/* Mark REG as holding a parameter for the next CALL_INSN.
+ Mode is TYPE_MODE of the non-promoted parameter, or VOIDmode. */
+extern void use_reg_mode (rtx *, rtx, enum machine_mode);
+
/* Mark REG as holding a parameter for the next CALL_INSN. */
-extern void use_reg (rtx *, rtx);
+static inline void
+use_reg (rtx *fusage, rtx reg)
+{
+ use_reg_mode (fusage, reg, VOIDmode);
+}
/* Mark NREGS consecutive regs, starting at REGNO, as holding parameters
for the next CALL_INSN. */