diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2003-12-31 23:02:44 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2003-12-31 18:02:44 -0500 |
commit | a55f4481282f3274a0712e2a1e0b80ee54b987c9 (patch) | |
tree | 5f258284a00af9c99b77923dab2e2c78109e1b51 /gcc/print-rtl.c | |
parent | a5a8386f2d409144f400bd73d675f21e1b2396e8 (diff) | |
download | gcc-a55f4481282f3274a0712e2a1e0b80ee54b987c9.zip gcc-a55f4481282f3274a0712e2a1e0b80ee54b987c9.tar.gz gcc-a55f4481282f3274a0712e2a1e0b80ee54b987c9.tar.bz2 |
print-rtl.c (print_rtx): For hard register...
* print-rtl.c (print_rtx): For hard register, write out register
number and register name instead of calling PRINT_REG.
* defaults.h (PRINT_REG): Deleted.
* config/i386/i386.c (print_reg): Remove handling of CODE of -1.
Move comments here from i386.h.
(print_operand, print_operand_address): Call print_reg directly.
* config/i386/i386.h (PRINT_REG): Deleted.
From-SVN: r75282
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r-- | gcc/print-rtl.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c index 5c3b8d4..f5e30fe 100644 --- a/gcc/print-rtl.c +++ b/gcc/print-rtl.c @@ -384,10 +384,8 @@ print_rtx (rtx in_rtx) #ifndef GENERATOR_FILE if (GET_CODE (in_rtx) == REG && value < FIRST_PSEUDO_REGISTER) - { - fputc (' ', outfile); - PRINT_REG (in_rtx, -1, outfile); - } + fprintf (outfile, " %d %s", REGNO (in_rtx), + reg_names[REGNO (in_rtx)]); else if (GET_CODE (in_rtx) == REG && value <= LAST_VIRTUAL_REGISTER) { |