Commit a6c7a886 by Michael Meissner Committed by Michael Meissner

Print the names of the hardcoded virtural registers

From-SVN: r28212
parent d342a2e1
1999-07-21 Michael Meissner <meissner@cygnus.com>
* print-rtl.c (print_rtx): Print the names of the virtual
registers.
Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
* config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
......
/* Print RTL for GNU C Compiler.
Copyright (C) 1987, 1988, 1992, 1997, 1998 Free Software Foundation, Inc.
Copyright (C) 1987, 1988, 1992, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU CC.
......@@ -245,6 +245,22 @@ print_rtx (in_rtx)
fputc (' ', outfile);
DEBUG_PRINT_REG (in_rtx, 0, outfile);
}
else if (GET_CODE (in_rtx) == REG && value <= LAST_VIRTUAL_REGISTER)
{
if (value == VIRTUAL_INCOMING_ARGS_REGNUM)
fprintf (outfile, " %d virtual-incoming-args", value);
else if (value == VIRTUAL_STACK_VARS_REGNUM)
fprintf (outfile, " %d virtual-stack-vars", value);
else if (value == VIRTUAL_STACK_DYNAMIC_REGNUM)
fprintf (outfile, " %d virtual-stack-dynamic", value);
else if (value == VIRTUAL_OUTGOING_ARGS_REGNUM)
fprintf (outfile, " %d virtual-outgoing-args", value);
else if (value == VIRTUAL_CFA_REGNUM)
fprintf (outfile, " %d virtual-cfa", value);
else
fprintf (outfile, " %d virtual-reg-%d", value,
value-FIRST_VIRTUAL_REGISTER);
}
else if (flag_dump_unnumbered
&& (is_insn || GET_CODE (in_rtx) == NOTE))
fputc ('#', outfile);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment