Commit 2450c590 authored by Ken Thompson's avatar Ken Thompson

typeswitch - expression evaluated

twice instead of once.

R=r
OCL=27015
CL=27015
parent 62d11a33
......@@ -788,7 +788,7 @@ typeswitch(Node *sw)
a = syslook("ifacethash", 1);
argtype(a, sw->ntest->right->type);
a = nod(OCALL, a, sw->ntest->right);
a = nod(OCALL, a, facename);
a = nod(OAS, hashname, a);
cas = list(cas, a);
......
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