(get_secondary_mem): Use macro SECONDARY_MEMORY_NEEDED_RTX.
From-SVN: r3758
This commit is contained in:
parent
9798977501
commit
b24a53d584
10
gcc/reload.c
10
gcc/reload.c
|
@ -413,8 +413,14 @@ get_secondary_mem (x, mode)
|
||||||
by noticing that the frame size has changed. */
|
by noticing that the frame size has changed. */
|
||||||
|
|
||||||
if (secondary_memlocs[(int) mode] == 0)
|
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
|
/* 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. */
|
didn't give us a new MEM, make a new one if it isn't valid. */
|
||||||
|
|
Loading…
Reference in New Issue