diff mbox

Privatize copy_blkmode_from_reg

Message ID 1484893.e1sUgZfb2b@polaris
State New
Headers show

Commit Message

Eric Botcazou Nov. 4, 2016, 5:45 p.m. UTC
Tested on x86-64/Linux, applied on the mainline as obvious.


2016-11-04  Eric Botcazou  <ebotcazou@adacore.com>

	* expr.h (copy_blkmode_from_reg): Delete.
	* expr.c (copy_blkmode_from_reg): Make static.

-- 
Eric Botcazou
diff mbox

Patch

Index: expr.c
===================================================================
--- expr.c	(revision 241808)
+++ expr.c	(working copy)
@@ -2591,7 +2591,7 @@  maybe_emit_group_store (rtx x, tree type
 
    This is used on targets that return BLKmode values in registers.  */
 
-void
+static void
 copy_blkmode_from_reg (rtx target, rtx srcreg, tree type)
 {
   unsigned HOST_WIDE_INT bytes = int_size_in_bytes (type);
Index: expr.h
===================================================================
--- expr.h	(revision 241808)
+++ expr.h	(working copy)
@@ -146,9 +146,6 @@  extern void emit_group_store (rtx, rtx,
 
 extern rtx maybe_emit_group_store (rtx, tree);
 
-/* Copy BLKmode object from a set of registers.  */
-extern void 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, machine_mode);