mirror of
https://github.com/golang/go.git
synced 2025-05-15 12:24:37 +00:00
bug 130 (go/defer) interface.method()
R=r OCL=25356 CL=25356
This commit is contained in:
parent
a9ed30ff37
commit
751d13cbce
@ -776,6 +776,7 @@ cgen_callinter(Node *n, Node *res, int proc)
|
|||||||
cgen(&nodo, &nodr); // REG = 32+offset(REG) -- i.m->fun[f]
|
cgen(&nodo, &nodr); // REG = 32+offset(REG) -- i.m->fun[f]
|
||||||
|
|
||||||
// BOTCH nodr.type = fntype;
|
// BOTCH nodr.type = fntype;
|
||||||
|
nodr.type = n->left->type;
|
||||||
ginscall(&nodr, proc);
|
ginscall(&nodr, proc);
|
||||||
|
|
||||||
regfree(&nodr);
|
regfree(&nodr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user