* reg-stack.c (check_stack_regs_mentioned): Remove variable SIZE.
From-SVN: r26386
This commit is contained in:
parent
d78b684f61
commit
791ca74ce4
2 changed files with 7 additions and 8 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Apr 12 14:58:30 MET DST 1999 Jan Hubicka <hubicka@freesoft.cz>
|
||||
|
||||
* reg-stack.c (check_stack_regs_mentioned): Remove variable SIZE.
|
||||
|
||||
Mon Apr 12 19:15:17 1999 Daniel Jacobowitz <dan@debian.org>
|
||||
|
||||
* rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Add missing backslash.
|
||||
|
|
|
@ -296,14 +296,9 @@ check_stack_regs_mentioned (insn)
|
|||
{
|
||||
unsigned int uid = INSN_UID (insn);
|
||||
if (uid >= VARRAY_SIZE (stack_regs_mentioned_data))
|
||||
{
|
||||
unsigned int size = VARRAY_SIZE (stack_regs_mentioned_data);
|
||||
|
||||
/* Allocate some extra size to avoid too many reallocs, but
|
||||
do not grow exponentially. */
|
||||
size = uid + uid / 20;
|
||||
VARRAY_GROW (stack_regs_mentioned_data, size);
|
||||
}
|
||||
/* Allocate some extra size to avoid too many reallocs, but
|
||||
do not grow exponentially. */
|
||||
VARRAY_GROW (stack_regs_mentioned_data, uid + uid / 20);
|
||||
if (stack_regs_mentioned_p (PATTERN (insn)))
|
||||
{
|
||||
VARRAY_CHAR (stack_regs_mentioned_data, uid) = 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue