diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2003-10-12 08:21:00 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@gcc.gnu.org> | 2003-10-12 08:21:00 +0000 |
commit | 02e02343f447e536ab9aa8f5af0c9fad30bef537 (patch) | |
tree | 98ee4e1514a28d38eb95f40e49b633b509365e2e /gcc | |
parent | c411fdaebf75260d7590aa0b11926342ebe0940d (diff) | |
download | gcc-02e02343f447e536ab9aa8f5af0c9fad30bef537.zip gcc-02e02343f447e536ab9aa8f5af0c9fad30bef537.tar.gz gcc-02e02343f447e536ab9aa8f5af0c9fad30bef537.tar.bz2 |
* config/i386/i386.c (x86_this_parameter): Fix typo.
From-SVN: r72390
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index edacc43..87da21b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-10-12 Danny Smith <dannysmith@users.sourceforge.net> + + * config/i386/i386.c (x86_this_parameter): Fix typo. + 2003-10-11 Jan Hubicka <jh@suse.cz> * Makefile.in (web.o): New. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 67285f9..03f2be7 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -15188,7 +15188,7 @@ x86_this_parameter (tree function) int regno = 0; if (lookup_attribute ("fastcall", TYPE_ATTRIBUTES (type))) regno = 2; - return gen_rtx_REG (SImode, 0); + return gen_rtx_REG (SImode, regno); } } |