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

Issue 4221046: code review 4221046: reflect: add pointer word to CommonType (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years ago by rsc
Modified:
14 years ago
Reviewers:
CC:
r, r2, golang-dev
Visibility:
Public.

Description

reflect: add pointer word to CommonType The pointer will eventually let us find *T given T. This CL just makes room for it, always storing a zero.

Patch Set 1 #

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

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

Patch Set 4 : diff -r ef61c195edc3 https://go.googlecode.com/hg/ #

Total comments: 6

Patch Set 5 : diff -r 7bb9f06500d3 https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 7bb9f06500d3 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -20 lines) Patch
M src/cmd/gc/reflect.c View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M src/cmd/ld/dwarf.c View 1 6 chunks +23 lines, -17 lines 0 comments Download
M src/pkg/reflect/type.go View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/type.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/type.go View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 5
rsc
Hello r (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
14 years ago (2011-02-24 05:49:58 UTC) #1
r
http://codereview.appspot.com/4221046/diff/4006/src/cmd/gc/reflect.c File src/cmd/gc/reflect.c (right): http://codereview.appspot.com/4221046/diff/4006/src/cmd/gc/reflect.c#newcode596 src/cmd/gc/reflect.c:596: // ptr *Type wrong name, plus please add a ...
14 years ago (2011-02-24 06:11:45 UTC) #2
rsc1
PTAL http://codereview.appspot.com/4221046/diff/4006/src/cmd/gc/reflect.c File src/cmd/gc/reflect.c (right): http://codereview.appspot.com/4221046/diff/4006/src/cmd/gc/reflect.c#newcode596 src/cmd/gc/reflect.c:596: // ptr *Type On 2011/02/24 06:11:45, r wrote: ...
14 years ago (2011-02-24 21:51:41 UTC) #3
r2
LGTM
14 years ago (2011-02-24 21:56:31 UTC) #4
rsc
14 years ago (2011-02-24 22:11:22 UTC) #5
*** Submitted as http://code.google.com/p/go/source/detail?r=06b81b9faf7a ***

reflect: add pointer word to CommonType

The pointer will eventually let us find *T given T.
This CL just makes room for it, always storing a zero.

R=r, r2
CC=golang-dev
http://codereview.appspot.com/4221046
Sign in to reply to this message.

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