* config/i386/i386.c (x86_this_parameter): Fix typo.

From-SVN: r72390
This commit is contained in:
Danny Smith 2003-10-12 08:21:00 +00:00 committed by Danny Smith
parent c411fdaebf
commit 02e02343f4
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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);
}
}