From: Jim Wilson Date: Tue, 16 Mar 1993 19:52:45 +0000 (-0800) Subject: (get_secondary_mem): Use macro SECONDARY_MEMORY_NEEDED_RTX. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b24a53d584476ba461e2d47e1a87129502498546;p=gcc.git (get_secondary_mem): Use macro SECONDARY_MEMORY_NEEDED_RTX. From-SVN: r3758 --- diff --git a/gcc/reload.c b/gcc/reload.c index e0c3d59dc72..ab2ac22d4c3 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -413,8 +413,14 @@ get_secondary_mem (x, mode) by noticing that the frame size has changed. */ if (secondary_memlocs[(int) mode] == 0) - secondary_memlocs[(int) mode] - = assign_stack_local (mode, GET_MODE_SIZE (mode), 0); + { +#ifdef SECONDARY_MEMORY_NEEDED_RTX + secondary_memlocs[(int) mode] = SECONDARY_MEMORY_NEEDED_RTX (mode); +#else + secondary_memlocs[(int) mode] + = assign_stack_local (mode, GET_MODE_SIZE (mode), 0); +#endif + } /* Get a version of the address doing any eliminations needed. If that didn't give us a new MEM, make a new one if it isn't valid. */