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

Issue 220480043: code review 220480043: compiler: implement Go 1 unsafe.Pointer conversion rules

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years ago by minux
Modified:
9 years ago
Reviewers:
iant
CC:
iant, gofrontend-dev_googlegroups.com
Visibility:
Public.

Description

compiler: implement Go 1 unsafe.Pointer conversion rules Any type whose underlying type is uintptr can be converted to unsafe.Pointer, and vice versa. Fixes golang/go#10284.

Patch Set 1 #

Patch Set 2 : diff -r 0def388e2919207cee03cd288038ff9876089104 https://code.google.com/p/gofrontend #

Patch Set 3 : diff -r 0def388e2919207cee03cd288038ff9876089104 https://code.google.com/p/gofrontend #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M go/types.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 3
minux
Hello iant@golang.org (cc: gofrontend-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/gofrontend
9 years ago (2015-03-30 04:25:19 UTC) #1
iant
LGTM Thanks.
9 years ago (2015-03-30 17:26:51 UTC) #2
iant
9 years ago (2015-03-30 17:30:54 UTC) #3
*** Submitted as
https://code.google.com/p/gofrontend/source/detail?r=6780bf5a7069 ***

compiler: implement Go 1 unsafe.Pointer conversion rules

Any type whose underlying type is uintptr can be converted
to unsafe.Pointer, and vice versa.

Fixes golang/go#10284.

LGTM=iant
R=iant
CC=gofrontend-dev
https://codereview.appspot.com/220480043

Committer: Ian Lance Taylor <iant@golang.org>
Sign in to reply to this message.

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