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

Issue 10023043: code review 10023043: build: add intptr typedef for Plan 9 (Closed)

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

Description

build: add intptr typedef for Plan 9 Revision 01810e5c68e9 added the following to src/pkg/runtime/stack.h: StackPreempt = (uintptr)(intptr)0xffffade, The typedef for intptr is defined in two places: 1. src/pkg/runtime/runtime.h for use by the runtime 2. include/u.h for use by the compilers and linkers On Plan 9, we don't use include/u.h but instead augment the host's u.h with extra typedefs. These are in include/plan9/GOARCH/u.h. We forgot to add intptr. It didn't cause a problem until now since that typedef was never used outside the runtime.

Patch Set 1 #

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -24 lines) Patch
M include/plan9/386/u.h View 1 1 chunk +9 lines, -8 lines 0 comments Download
M include/plan9/amd64/u.h View 1 1 chunk +9 lines, -8 lines 0 comments Download
M include/plan9/arm/u.h View 1 1 chunk +9 lines, -8 lines 0 comments Download

Messages

Total messages: 4
ality
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
10 years, 11 months ago (2013-06-04 22:49:31 UTC) #1
bradfitz
LGTM On Tue, Jun 4, 2013 at 3:49 PM, <ality@pbrane.org> wrote: > Reviewers: golang-dev1, > ...
10 years, 11 months ago (2013-06-04 22:58:31 UTC) #2
ality
*** Submitted as https://code.google.com/p/go/source/detail?r=dd6cd9d1be17 *** build: add intptr typedef for Plan 9 Revision 01810e5c68e9 added ...
10 years, 11 months ago (2013-06-04 23:21:13 UTC) #3
rsc
10 years, 11 months ago (2013-06-10 19:31:43 UTC) #4
Message was sent while issue was closed.
This change should be reverted. It encourages bad code, such as the code that
now compiles.
Sign in to reply to this message.

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