]> Cypherpunks repositories - gostls13.git/commit
runtime: use enums instead static vars for debugging
authorDmitriy Vyukov <dvyukov@google.com>
Wed, 15 May 2013 07:10:26 +0000 (11:10 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Wed, 15 May 2013 07:10:26 +0000 (11:10 +0400)
commite69012ce2a366e54bc86cd17f2fb1d73fc567a89
treec2f5fd88779792391945826b2cb91df9f95cbfa2
parent5a89b35bca720d1ba296f5d7f22376b440486faf
runtime: use enums instead static vars for debugging
Compiler can detect and delete dead code with enums,
but can not with static vars.

R=golang-dev, dave, r
CC=golang-dev
https://golang.org/cl/9377043
src/pkg/runtime/chan.c
src/pkg/runtime/slice.c