it seems rietveld lost the feature that when you hg mail a CL, all pending ...
10 years, 11 months ago
(2014-07-10 05:05:39 UTC)
#5
it seems rietveld lost the feature that when you
hg mail a CL, all pending comments will also be
sent out. Or am I mistaken and that is never a
feature at all?
https://codereview.appspot.com/108360043/diff/40001/src/liblink/asm5.c
File src/liblink/asm5.c (right):
https://codereview.appspot.com/108360043/diff/40001/src/liblink/asm5.c#newcod...
src/liblink/asm5.c:460: int32 opc = p->pc; (void)opc;
On 2014/07/09 19:44:13, rsc wrote:
> move declaration up. leave declaration here.
> remove (void)opc.
actually opc is unused debugging code that i missed when
cleaning up.
https://codereview.appspot.com/108360043/diff/40001/src/liblink/asm5.c#newcod...
src/liblink/asm5.c:464: if(out != nil) asmout(ctxt, p, o, out);
On 2014/07/09 19:44:13, rsc wrote:
> you might be better off always passing a non-nil out, and then al these checks
> go away.
I tried, but 5g failed at compiling runtime and i spent some
time debugging the issue, but haven't found the bug.
when i wrote the code, i made the assumption that all but the
last call will have nil out.
Instead I will properly indent all the ifs.
https://codereview.appspot.com/108360043/diff/40001/src/liblink/asm5.c#newcod...
src/liblink/asm5.c:511: case AMOVH: case AMOVHU: case AMOVHS:
On 2014/07/09 19:44:14, rsc wrote:
> multiple lines
I used lines to group related operations together.
do you really want me to use one case per line?
https://codereview.appspot.com/108360043/diff/40001/src/liblink/asm5.c#newcod...
src/liblink/asm5.c:544: case 2: p->pc += 8; break;
On 2014/07/09 19:44:13, rsc wrote:
> if pc is okay at 12 mod 16, and pc is currently 8 mod 16, why are we adding 8
> instead of 4?
you're right. this is rare case when the comment is more correct than the code.
On 2014/07/10 05:05:39, minux wrote: > it seems rietveld lost the feature that when you ...
10 years, 11 months ago
(2014-07-10 18:33:46 UTC)
#6
On 2014/07/10 05:05:39, minux wrote:
> it seems rietveld lost the feature that when you
> hg mail a CL, all pending comments will also be
> sent out. Or am I mistaken and that is never a
> feature at all?
I have never understood what causes that to happen. Sometimes it does, sometimes
it does not.
https://codereview.appspot.com/108360043/diff/40001/src/liblink/asm5.c File src/liblink/asm5.c (right): https://codereview.appspot.com/108360043/diff/40001/src/liblink/asm5.c#newcode511 src/liblink/asm5.c:511: case AMOVH: case AMOVHU: case AMOVHS: On 2014/07/10 05:05:38, ...
10 years, 11 months ago
(2014-07-10 18:36:11 UTC)
#7
Issue 108360043: code review 108360043: cmd/5c, cmd/5g, cmd/5l, liblink: nacl/arm support
(Closed)
Created 10 years, 11 months ago by minux
Modified 10 years, 11 months ago
Reviewers: gobot
Base URL:
Comments: 44