mirror of
https://github.com/golang/go
synced 2024-11-20 05:04:43 -07:00
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
This commit is contained in:
parent
ffb4b0d7b7
commit
7258bac6e8
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user