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

Delta Between Two Patch Sets: src/cmd/6g/peep.c

Issue 6922048: code review 6922048: cmd/{5,6,8}g: reduce size of Prog and Addr (Closed)
Left Patch Set: diff -r ec3ae5b98922 https://code.google.com/p/go Created 12 years, 3 months ago
Right Patch Set: diff -r 8ea9d438b64e https://go.googlecode.com/hg/ Created 12 years, 3 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/cmd/6g/list.c ('k') | src/cmd/6g/reg.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 // Derived from Inferno utils/6c/peep.c 1 // Derived from Inferno utils/6c/peep.c
2 // http://code.google.com/p/inferno-os/source/browse/utils/6c/peep.c 2 // http://code.google.com/p/inferno-os/source/browse/utils/6c/peep.c
3 // 3 //
4 // Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved. 4 // Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved.
5 // Portions Copyright © 1995-1997 C H Forsyth (forsyth@terzarima.net) 5 // Portions Copyright © 1995-1997 C H Forsyth (forsyth@terzarima.net)
6 // Portions Copyright © 1997-1999 Vita Nuova Limited 6 // Portions Copyright © 1997-1999 Vita Nuova Limited
7 // Portions Copyright © 2000-2007 Vita Nuova Holdings Limited (www.vitanuov a.com) 7 // Portions Copyright © 2000-2007 Vita Nuova Holdings Limited (www.vitanuov a.com)
8 // Portions Copyright © 2004,2006 Bruce Ellis 8 // Portions Copyright © 2004,2006 Bruce Ellis
9 // Portions Copyright © 2005-2007 C H Forsyth (forsyth@terzarima.net) 9 // Portions Copyright © 2005-2007 C H Forsyth (forsyth@terzarima.net)
10 // Revisions Copyright © 2000-2007 Lucent Technologies Inc. and others 10 // Revisions Copyright © 2000-2007 Lucent Technologies Inc. and others
(...skipping 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after
1296 case 2: // rar 1296 case 2: // rar
1297 case 4: // use and set 1297 case 4: // use and set
1298 break; 1298 break;
1299 1299
1300 case 3: // set 1300 case 3: // set
1301 if(p->as == p0->as) 1301 if(p->as == p0->as)
1302 if(p->from.type == p0->from.type) 1302 if(p->from.type == p0->from.type)
1303 if(p->from.node == p0->from.node) 1303 if(p->from.node == p0->from.node)
1304 if(p->from.offset == p0->from.offset) 1304 if(p->from.offset == p0->from.offset)
1305 if(p->from.scale == p0->from.scale) 1305 if(p->from.scale == p0->from.scale)
1306 » » if(p->from.u.dval == p0->from.u.dval) 1306 » » if(p->from.u.vval == p0->from.u.vval)
rsc 2012/12/12 04:07:28 use vval == vval not dval == dval fp comparison ma
dave_cheney.net 2012/12/13 00:23:16 Done.
1307 if(p->from.index == p0->from.index) { 1307 if(p->from.index == p0->from.index) {
1308 excise(r); 1308 excise(r);
1309 goto loop; 1309 goto loop;
1310 } 1310 }
1311 break; 1311 break;
1312 } 1312 }
1313 } 1313 }
LEFTRIGHT

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