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

Issue 5486049: code review 5486049: gc: do not use vlong in switch expressions (Closed)

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

Description

gc: do not use vlong in switch expressions This fails when using 8c on Plan 9 since switch expressions must be no larger than the machine's word size.

Patch Set 1 #

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

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

Total comments: 2

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -34 lines) Patch
M src/cmd/gc/pgen.c View 1 1 chunk +0 lines, -2 lines 0 comments Download
M src/cmd/gc/reflect.c View 1 2 3 2 chunks +19 lines, -13 lines 0 comments Download
M src/cmd/gc/subr.c View 1 3 chunks +25 lines, -19 lines 0 comments Download

Messages

Total messages: 8
ality
Hello lucio.dere@gmail.com, rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
12 years, 6 months ago (2011-12-13 13:51:49 UTC) #1
lucio
LGTM. I'm curious to know whether I'm being careless or Anthony is being too cautious ...
12 years, 6 months ago (2011-12-13 14:13:54 UTC) #2
ality
lucio.dere@gmail.com once said: > http://codereview.appspot.com/5486049/diff/3001/src/cmd/gc/reflect.c#newcode977 > src/cmd/gc/reflect.c:977: if(t->width <= 16) { > I don't think ...
12 years, 6 months ago (2011-12-13 14:24:20 UTC) #3
lucio
I thought I was the most pedantic person I knew :-) Thing is, and Russ ...
12 years, 6 months ago (2011-12-13 14:31:16 UTC) #4
ality
Hello lucio.dere@gmail.com, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 6 months ago (2011-12-13 15:05:48 UTC) #5
rsc
How about fixing the Plan 9 C compiler instead? Try http://codereview.appspot.com/5485063
12 years, 6 months ago (2011-12-13 20:16:15 UTC) #6
r2
On Dec 13, 2011, at 12:16 PM, Russ Cox wrote: > How about fixing the ...
12 years, 6 months ago (2011-12-13 20:33:39 UTC) #7
ality
12 years, 6 months ago (2011-12-14 06:45:50 UTC) #8
*** Abandoned ***
Sign in to reply to this message.

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