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

Issue 7128045: code review 7128045: cmd/6c, cmd/8c: fix print format for Prog (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by ality
Modified:
12 years, 3 months ago
Reviewers:
CC:
golang-dev, rsc
Visibility:
Public.

Description

cmd/6c, cmd/8c: fix print format for Prog The FmtLong flag should only be used with the %D verb when printing an ATEXT Prog. It was erroneously used for every Prog except ADATA. This caused a preponderance of exclamation points, "!!", in the assembly listings. I also cleaned up the code so that the list.c files look very similar. Now the real differences are easily spotted with a simple diff.

Patch Set 1 #

Patch Set 2 : diff -r 3914255bcf5f https://code.google.com/p/go/ #

Patch Set 3 : diff -r 3914255bcf5f https://code.google.com/p/go/ #

Patch Set 4 : diff -r 6287072632c4 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -49 lines) Patch
M src/cmd/6c/list.c View 1 11 chunks +24 lines, -29 lines 0 comments Download
M src/cmd/8c/list.c View 1 13 chunks +35 lines, -20 lines 0 comments Download

Messages

Total messages: 3
ality
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
12 years, 3 months ago (2013-01-17 08:58:42 UTC) #1
rsc
LGTM
12 years, 3 months ago (2013-01-18 21:10:57 UTC) #2
ality
12 years, 3 months ago (2013-01-19 03:01:09 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=845f6e3bb306 ***

cmd/6c, cmd/8c: fix print format for Prog

The FmtLong flag should only be used with the %D verb
when printing an ATEXT Prog. It was erroneously used
for every Prog except ADATA. This caused a preponderance
of exclamation points, "!!", in the assembly listings.

I also cleaned up the code so that the list.c files look
very similar. Now the real differences are easily spotted
with a simple diff.

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7128045
Sign in to reply to this message.

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