reload1.c (eliminate_regs): Don't do anything, if we're not generating code.
� * reload1.c (eliminate_regs): Don't do anything, if we're not generating code. From-SVN: r24168
This commit is contained in:
parent
9becac0c3e
commit
d6633f01f4
|
@ -2651,11 +2651,8 @@ eliminate_regs (x, mem_mode, insn)
|
|||
char *fmt;
|
||||
int copied = 0;
|
||||
|
||||
/* We can reach here without reload being run if we have an variable
|
||||
definition in a file with no functions (for exmaple). Ensure we
|
||||
have a valid elimination table in such cases. */
|
||||
if (reg_eliminate == NULL)
|
||||
init_elim_table ();
|
||||
if (! current_function_decl)
|
||||
return x;
|
||||
|
||||
switch (code)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue