diff options
author | Shenghou Ma <minux@golang.org> | 2014-08-07 18:34:25 -0400 |
---|---|---|
committer | Shenghou Ma <minux@golang.org> | 2014-08-07 18:34:25 -0400 |
commit | 36631216a1103e4e017f8fa701419f7ff01c9727 (patch) | |
tree | 06c36a0df60848cbb7a6e9b593f0742431fa1495 /src/cmd/ld/lib.c | |
parent | 27d0dd420436a9a2dd9ed8170a5ac5bb4958bee9 (diff) | |
download | go-36631216a1103e4e017f8fa701419f7ff01c9727.tar.gz |
[dev.power64] cmd/9c: fix switch bug
The cmd/cc bundled with 9c has additional code compared to our cmd/cc, and
without those code, 9c couldn't handle switch statement where the expression
is not just a simple int32 or int64 variable (e.g. g->status or int8 variable).
All credit goes to rsc.
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://codereview.appspot.com/125840043
Diffstat (limited to 'src/cmd/ld/lib.c')
0 files changed, 0 insertions, 0 deletions