bug 130 (go/defer) interface.method()

R=r
OCL=25356
CL=25356
This commit is contained in:
Ken Thompson 2009-02-23 22:43:04 -08:00
parent a9ed30ff37
commit 751d13cbce

View File

@ -776,6 +776,7 @@ cgen_callinter(Node *n, Node *res, int proc)
cgen(&nodo, &nodr); // REG = 32+offset(REG) -- i.m->fun[f]
// BOTCH nodr.type = fntype;
nodr.type = n->left->type;
ginscall(&nodr, proc);
regfree(&nodr);