Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(236)

Unified Diff: src/liblink/asm5.c

Issue 108570043: code review 108570043: liblink: fix warnings on Plan 9 (Closed)
Patch Set: diff -r 36cc211b26b4 https://code.google.com/p/go Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/liblink/asm5.c
===================================================================
--- a/src/liblink/asm5.c
+++ b/src/liblink/asm5.c
@@ -717,7 +717,6 @@
ctxt->curp = p;
p->pc = c;
o = oplook(ctxt, p);
- m = o->size;
if(ctxt->headtype != Hnacl) {
m = o->size;
} else {
@@ -802,10 +801,8 @@
opc = p->pc;
if(ctxt->headtype != Hnacl) {
m = o->size;
minux 2014/07/11 20:19:50 you may as well remove the braces around this line
0intro 2014/07/11 20:24:20 Done.
- } else {
+ } else
m = asmoutnacl(ctxt, c, p, o, nil);
- c = p->pc; // asmoutnacl might change pc for alignment
- }
if(p->pc != opc) {
bflag = 1;
//print("%P pc changed %d to %d in iter. %d\n", p, opc, (int32)p->pc, times);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b