Commit 7258bac6 authored by Kai Backman's avatar Kai Backman

fix bug in codegen when we modified move instruction instead

of text.

R=rsc
APPROVED=rsc
DELTA=3  (1 added, 2 deleted, 0 changed)
OCL=31575
CL=31575
parent ffb4b0d7
......@@ -79,6 +79,7 @@ codgen(Node *n, Node *nn)
nearln = nn->lineno;
p = gtext(n1->sym, stkoff);
sp = p;
/*
* isolate first argument
......@@ -100,7 +101,6 @@ codgen(Node *n, Node *nn)
}
}
sp = p;
retok = 0;
canreach = 1;
......@@ -588,4 +588,3 @@ bcomplex(Node *n, Node *c)
boolgen(n, 1, Z);
return 0;
}
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