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

Issue 6939064: code review 6939064: runtime: use "mp" and "gp" instead of "m" and "g" for l... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by diogin
Modified:
12 years, 3 months ago
Reviewers:
CC:
golang-dev, minux1, rsc, bradfitz
Visibility:
Public.

Description

runtime: use "mp" and "gp" instead of "m" and "g" for local variable name to avoid confusion with the global "m" and "g".

Patch Set 1 #

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

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

Total comments: 3

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

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -150 lines) Patch
M src/pkg/runtime/cgocall.c View 1 1 chunk +3 lines, -3 lines 1 comment Download
M src/pkg/runtime/malloc.goc View 1 5 chunks +11 lines, -11 lines 0 comments Download
M src/pkg/runtime/mgc0.c View 1 4 chunks +13 lines, -13 lines 0 comments Download
M src/pkg/runtime/mprof.goc View 1 2 chunks +6 lines, -6 lines 0 comments Download
M src/pkg/runtime/os_plan9.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/proc.c View 1 8 chunks +23 lines, -23 lines 0 comments Download
M src/pkg/runtime/runtime.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/signal_netbsd_386.c View 1 1 chunk +3 lines, -3 lines 0 comments Download
M src/pkg/runtime/signal_netbsd_amd64.c View 1 1 chunk +3 lines, -3 lines 0 comments Download
M src/pkg/runtime/sys_darwin_386.s View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/sys_darwin_amd64.s View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/sys_linux_386.s View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/sys_linux_amd64.s View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/sys_linux_arm.s View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/sys_openbsd_386.s View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/sys_openbsd_amd64.s View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/thread_darwin.c View 1 1 chunk +5 lines, -5 lines 1 comment Download
M src/pkg/runtime/thread_freebsd.c View 1 1 chunk +11 lines, -11 lines 2 comments Download
M src/pkg/runtime/thread_linux.c View 1 2 chunks +5 lines, -5 lines 1 comment Download
M src/pkg/runtime/thread_netbsd.c View 1 3 chunks +7 lines, -7 lines 1 comment Download
M src/pkg/runtime/thread_openbsd.c View 1 3 chunks +8 lines, -8 lines 1 comment Download
M src/pkg/runtime/thread_plan9.c View 1 2 chunks +9 lines, -9 lines 1 comment Download
M src/pkg/runtime/thread_windows.c View 1 1 chunk +4 lines, -4 lines 1 comment Download
M src/pkg/runtime/traceback_arm.c View 1 6 chunks +12 lines, -12 lines 0 comments Download
M src/pkg/runtime/traceback_x86.c View 1 7 chunks +13 lines, -13 lines 0 comments Download

Messages

Total messages: 7
diogin
Hello golang-dev@googlegroups.com (cc: bradfitz@golang.org, golang-dev@googlegroups.com, rsc@golang.org), I'd like you to review this change to https://code.google.com/p/go
12 years, 3 months ago (2012-12-17 03:32:33 UTC) #1
diogin
On 2012/12/17 03:32:33, diogin wrote: > Hello mailto:golang-dev@googlegroups.com (cc: mailto:bradfitz@golang.org, > mailto:golang-dev@googlegroups.com, mailto:rsc@golang.org), > > ...
12 years, 3 months ago (2012-12-17 03:43:52 UTC) #2
minux1
https://codereview.appspot.com/6939064/diff/4001/src/pkg/runtime/cgo/gcc_arm.S File src/pkg/runtime/cgo/gcc_arm.S (right): https://codereview.appspot.com/6939064/diff/4001/src/pkg/runtime/cgo/gcc_arm.S#newcode15 src/pkg/runtime/cgo/gcc_arm.S:15: * void crosscall_arm2(void (*fn)(void), void *gp, void *mp) g ...
12 years, 3 months ago (2012-12-17 15:46:19 UTC) #3
rsc
Please revert the changes in runtime/cgo. That's a different package. Otherwise, looks fine to me. ...
12 years, 3 months ago (2012-12-17 16:12:26 UTC) #4
diogin
Hello golang-dev@googlegroups.com, minux.ma@gmail.com, rsc@golang.org (cc: bradfitz@golang.org, golang-dev@googlegroups.com), Please take another look.
12 years, 3 months ago (2012-12-18 02:22:49 UTC) #5
minux1
LGTM. Will submit with the following changes. https://codereview.appspot.com/6939064/diff/4003/src/pkg/runtime/cgocall.c File src/pkg/runtime/cgocall.c (right): https://codereview.appspot.com/6939064/diff/4003/src/pkg/runtime/cgocall.c#newcode45 src/pkg/runtime/cgocall.c:45: // (in ...
12 years, 3 months ago (2012-12-18 16:29:16 UTC) #6
minux1
12 years, 3 months ago (2012-12-18 16:30:49 UTC) #7
*** Submitted as https://code.google.com/p/go/source/detail?r=c082c3be7168 ***

runtime: use "mp" and "gp" instead of "m" and "g" for local variable name to
avoid confusion with the global "m" and "g".

R=golang-dev, minux.ma, rsc
CC=bradfitz, golang-dev
https://codereview.appspot.com/6939064

Committer: Shenghou Ma <minux.ma@gmail.com>
Sign in to reply to this message.

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