Commit 2b33a134 authored by Ken Thompson's avatar Ken Thompson

regfree

R=r
OCL=21685
CL=21687
parent 62b06fa5
......@@ -901,10 +901,10 @@ cgen_aret(Node *n, Node *res)
nod1.type = fp->type;
if(res->op != OREGISTER) {
print("its 1\n");
regalloc(&nod2, types[tptr], res);
gins(ALEAQ, &nod1, &nod2);
gins(AMOVQ, &nod2, res);
regfree(&nod2);
} else
gins(ALEAQ, &nod1, res);
}
......
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