Commit 942d6590 authored by Kai Backman's avatar Kai Backman

one more argsize fix. we were copying with the correct

alignment but not enough (duh).

R=rsc
APPROVED=rsc
DELTA=16  (13 added, 0 deleted, 3 changed)
OCL=36020
CL=36024
parent dec1ec34
...@@ -146,7 +146,7 @@ ginscall(Node *f, int proc) ...@@ -146,7 +146,7 @@ ginscall(Node *f, int proc)
p->to.reg = REGSP; p->to.reg = REGSP;
p->to.offset = 8; p->to.offset = 8;
nodconst(&con, types[TINT32], argsize(f->type)); nodconst(&con, types[TINT32], argsize(f->type) + 4);
gins(AMOVW, &con, &r); gins(AMOVW, &con, &r);
p = gins(AMOVW, &r, N); p = gins(AMOVW, &r, N);
p->to.type = D_OREG; p->to.type = D_OREG;
......
...@@ -4,12 +4,14 @@ assign.go ...@@ -4,12 +4,14 @@ assign.go
bigalg.go bigalg.go
blank.go blank.go
blank1.go blank1.go
bugs/bug162.go chan/fifo.go
bugs/bug193.go chan/goroutines.go
chan/perm.go chan/perm.go
chan/select.go chan/select.go
chan/sieve.go
char_lit.go char_lit.go
closedchan.go closedchan.go
closure.go
cmp1.go cmp1.go
cmp2.go cmp2.go
cmp3.go cmp3.go
...@@ -26,6 +28,7 @@ decl.go ...@@ -26,6 +28,7 @@ decl.go
declbad.go declbad.go
empty.go empty.go
env.go env.go
escape.go
escape1.go escape1.go
fixedbugs/bug000.go fixedbugs/bug000.go
fixedbugs/bug001.go fixedbugs/bug001.go
...@@ -197,6 +200,7 @@ fixedbugs/bug189.go ...@@ -197,6 +200,7 @@ fixedbugs/bug189.go
fixedbugs/bug190.go fixedbugs/bug190.go
fixedbugs/bug191.go fixedbugs/bug191.go
fixedbugs/bug192.go fixedbugs/bug192.go
fixedbugs/bug193.go
fixedbugs/bug194.go fixedbugs/bug194.go
fixedbugs/bug195.go fixedbugs/bug195.go
fixedbugs/bug196.go fixedbugs/bug196.go
...@@ -220,6 +224,7 @@ func1.go ...@@ -220,6 +224,7 @@ func1.go
func2.go func2.go
func3.go func3.go
func4.go func4.go
func5.go
gc.go gc.go
gc1.go gc1.go
hashmap.go hashmap.go
...@@ -240,6 +245,7 @@ interface/convert.go ...@@ -240,6 +245,7 @@ interface/convert.go
interface/convert1.go interface/convert1.go
interface/convert2.go interface/convert2.go
interface/embed.go interface/embed.go
interface/embed0.go
interface/explicit.go interface/explicit.go
interface/fail.go interface/fail.go
interface/pointer.go interface/pointer.go
...@@ -250,7 +256,9 @@ interface/returntype.go ...@@ -250,7 +256,9 @@ interface/returntype.go
interface/struct.go interface/struct.go
iota.go iota.go
ken/array.go ken/array.go
ken/chan1.go
ken/complit.go ken/complit.go
ken/divconst.go
ken/divmod.go ken/divmod.go
ken/embed.go ken/embed.go
ken/for.go ken/for.go
...@@ -260,6 +268,7 @@ ken/intervar.go ...@@ -260,6 +268,7 @@ ken/intervar.go
ken/label.go ken/label.go
ken/litfun.go ken/litfun.go
ken/mfunc.go ken/mfunc.go
ken/modconst.go
ken/ptrfun.go ken/ptrfun.go
ken/ptrvar.go ken/ptrvar.go
ken/range.go ken/range.go
...@@ -279,6 +288,7 @@ ken/sliceslice.go ...@@ -279,6 +288,7 @@ ken/sliceslice.go
ken/string.go ken/string.go
ken/strvar.go ken/strvar.go
literal.go literal.go
map.go
method.go method.go
method1.go method1.go
method2.go method2.go
...@@ -288,12 +298,14 @@ named1.go ...@@ -288,12 +298,14 @@ named1.go
nil.go nil.go
parentype.go parentype.go
printbig.go printbig.go
range.go
rename.go rename.go
rename1.go rename1.go
runtime.go runtime.go
sieve.go sieve.go
sigchld.go sigchld.go
simassign.go simassign.go
stack.go
string_lit.go string_lit.go
stringrange.go stringrange.go
switch.go switch.go
...@@ -302,3 +314,4 @@ test0.go ...@@ -302,3 +314,4 @@ test0.go
typeswitch.go typeswitch.go
utf.go utf.go
varinit.go varinit.go
vectors.go
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment