]> Cypherpunks repositories - gostls13.git/commitdiff
go method
authorKen Thompson <ken@golang.org>
Sat, 2 Aug 2008 22:31:21 +0000 (15:31 -0700)
committerKen Thompson <ken@golang.org>
Sat, 2 Aug 2008 22:31:21 +0000 (15:31 -0700)
R=r
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=13765
CL=13765

src/cmd/6g/gen.c

index 7925c5352a42715f074ddbf3d2cc7bf87b05ebdd..3da034e249494b6f65454f812f16492feafdd6d2 100644 (file)
@@ -553,7 +553,7 @@ argsize(Type *t)
                x = fp->width + fp->type->width;
                if(x > w)
                        w = x;
-               fp = structnext(&save);
+               fp = funcnext(&save);
        }
 
        w = (w+7) & ~7;