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

Issue 9377043: code review 9377043: runtime: use enums instead static vars for debugging (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by dvyukov
Modified:
12 years, 2 months ago
Reviewers:
r
CC:
golang-dev, dave_cheney.net, r, gobot
Visibility:
Public.

Description

runtime: use enums instead static vars for debugging Compiler can detect and delete dead code with enums, but can not with static vars.

Patch Set 1 #

Patch Set 2 : diff -r d29da2ced72b https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 3 : diff -r d29da2ced72b https://dvyukov%40google.com@code.google.com/p/go/ #

Total comments: 2

Patch Set 4 : diff -r d29da2ced72b https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 5 : diff -r 0fe374e88745 https://dvyukov%40google.com@code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M src/pkg/runtime/chan.c View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/slice.c View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 6
dvyukov
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
12 years, 2 months ago (2013-05-13 10:46:56 UTC) #1
dave_cheney.net
I tried to land a patch like this a while back, hopefully you will have ...
12 years, 2 months ago (2013-05-14 00:21:02 UTC) #2
r
LGTM https://codereview.appspot.com/9377043/diff/3001/src/pkg/runtime/chan.c File src/pkg/runtime/chan.c (right): https://codereview.appspot.com/9377043/diff/3001/src/pkg/runtime/chan.c#newcode14 src/pkg/runtime/chan.c:14: enum { debug = 0 }; multiple lines. ...
12 years, 2 months ago (2013-05-14 23:11:12 UTC) #3
dvyukov
On 2013/05/14 23:11:12, r wrote: > LGTM > > https://codereview.appspot.com/9377043/diff/3001/src/pkg/runtime/chan.c > File src/pkg/runtime/chan.c (right): > ...
12 years, 2 months ago (2013-05-15 07:09:57 UTC) #4
dvyukov
*** Submitted as https://code.google.com/p/go/source/detail?r=a23a2a12cd36 *** runtime: use enums instead static vars for debugging Compiler can ...
12 years, 2 months ago (2013-05-15 07:10:32 UTC) #5
gobot
12 years, 2 months ago (2013-05-15 17:17:16 UTC) #6
Message was sent while issue was closed.
R=r (assigned by r)
Sign in to reply to this message.

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