]> Cypherpunks repositories - gostls13.git/commit
cmd/8g: don't crash if Prog->u.branch is nil
authorRob Pike <r@golang.org>
Thu, 30 Jan 2014 00:14:45 +0000 (16:14 -0800)
committerRob Pike <r@golang.org>
Thu, 30 Jan 2014 00:14:45 +0000 (16:14 -0800)
commit289d46399b794a15be12f57a8162fa514bd8f306
treee0c6ce209ba32b89526f5e9d9274207e298e7f59
parent327e431057f0e367e7287c3cc4326196f53218cb
cmd/8g: don't crash if Prog->u.branch is nil
The code is copied from cmd/6g.
Empirically, all branch targets are nil in this code so
something is still wrong, but at least this stops 8g -S
from crashing.

Update #7178

LGTM=dave, iant
R=iant, dave
CC=golang-codereviews
https://golang.org/cl/58400043
src/cmd/8g/list.c