* config/i386/i386.c (x86_this_parameter): Fix typo.
authorDanny Smith <dannysmith@users.sourceforge.net>
Sun, 12 Oct 2003 08:21:00 +0000 (08:21 +0000)
committerDanny Smith <dannysmith@gcc.gnu.org>
Sun, 12 Oct 2003 08:21:00 +0000 (08:21 +0000)
From-SVN: r72390

gcc/ChangeLog
gcc/config/i386/i386.c

index edacc43e1a581b884cf8441860e9abcd64f7c627..87da21b57de82f908c1ed465894e0a4eb4d595ea 100644 (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.
index 67285f94ea0a5328784b5b950ac5c6b22dab55b3..03f2be754ac1dc59119c1a2b0c9f67825f21ccb7 100644 (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);
        }
     }