Keyboard Shortcuts

File
u :up to issue
m :publish + mail comments
M :edit review message
j / k :jump to file after / before current file
J / K :jump to next file with a comment after / before current file
Side-by-side diff
i :toggle intra-line diffs
e :expand all comments
c :collapse all comments
s :toggle showing all comments
n / p :next / previous diff chunk or comment
N / P :next / previous comment
<Up> / <Down> :next / previous line
<Enter> :respond to / edit current comment
d :mark current comment as done
Issue
u :up to list of issues
m :publish + mail comments
j / k :jump to patch after / before current patch
o / <Enter> :open current patch in side-by-side view
i :open current patch in unified diff view
Issue List
j / k :jump to issue after / before current issue
o / <Enter> :open current issue
# : close issue
Comment/message editing
<Ctrl> + s or <Ctrl> + Enter :save comment
<Esc> :cancel edit
Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(56)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in with your Google Account to create issues and add comments

Issue 11989043: code review 11989043: cmd/6g, cmd/8g: remove a useless temporary in comparison.

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 5 months ago by remyoudompheng
Modified:
11 years, 11 months ago
CC:
golang-codereviews
Visibility:
Public.
cmd/6g, cmd/8g: remove a useless temporary in comparison. This temporary was used to work around cases where the frontend would emit comparison between constants (revision 5327829ff1e4).

Patch Set 1 #

Patch Set 2 : diff -r 2fe813f4f3c2 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 2fe813f4f3c2 https://go.googlecode.com/hg/ #

Total comments: 2
Created: 12 years, 5 months ago
Download [raw] [tar.bz2]
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M src/cmd/6g/cgen.c View 1 1 chunk +5 lines, -2 lines 2 comments Download
M src/cmd/8g/cgen.c View 1 1 chunk +1 line, -1 line 0 comments Download
Total messages: 5
|
remyoudompheng
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 5 months ago (2013年07月28日 15:50:30 UTC) #1
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com),
I'd like you to review this change to
https://go.googlecode.com/hg/ 
Sign in to reply to this message.
rsc
https://codereview.appspot.com/11989043/diff/2002/src/cmd/6g/cgen.c File src/cmd/6g/cgen.c (right): https://codereview.appspot.com/11989043/diff/2002/src/cmd/6g/cgen.c#newcode1241 src/cmd/6g/cgen.c:1241: tempname(&n1, nl->type); This used to be a register. Why ...
12 years, 5 months ago (2013年07月29日 17:13:31 UTC) #2
https://codereview.appspot.com/11989043/diff/2002/src/cmd/6g/cgen.c
File src/cmd/6g/cgen.c (right):
https://codereview.appspot.com/11989043/diff/2002/src/cmd/6g/cgen.c#newcode1241
src/cmd/6g/cgen.c:1241: tempname(&n1, nl->type);
This used to be a register. Why is it a temporary now?
Also, you deleted a regalloc without deleting a regfree.
If nl is itself a register, the regalloc below will mess things up.
Sign in to reply to this message.
DMorsing
https://codereview.appspot.com/11989043/diff/2002/src/cmd/6g/cgen.c File src/cmd/6g/cgen.c (right): https://codereview.appspot.com/11989043/diff/2002/src/cmd/6g/cgen.c#newcode1241 src/cmd/6g/cgen.c:1241: tempname(&n1, nl->type); Isn't this just a case where you ...
12 years, 5 months ago (2013年07月29日 18:22:43 UTC) #3
https://codereview.appspot.com/11989043/diff/2002/src/cmd/6g/cgen.c
File src/cmd/6g/cgen.c (right):
https://codereview.appspot.com/11989043/diff/2002/src/cmd/6g/cgen.c#newcode1241
src/cmd/6g/cgen.c:1241: tempname(&n1, nl->type);
Isn't this just a case where you want to use regalloc(&n1, nl->type, nl);?
Sign in to reply to this message.
gobot
Replacing golang-dev with golang-codereviews.
12 years ago (2013年12月20日 16:25:57 UTC) #4
Replacing golang-dev with golang-codereviews.
Sign in to reply to this message.
rsc
R=close (assuming this timed out)
11 years, 11 months ago (2014年01月22日 03:17:22 UTC) #5
R=close
(assuming this timed out)
Sign in to reply to this message.
|
Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b

AltStyle によって変換されたページ (->オリジナル) /