]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/gc: show register dump before crashing on register left allocated
authorRuss Cox <rsc@golang.org>
Wed, 6 May 2015 16:22:05 +0000 (12:22 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 11 May 2015 15:22:11 +0000 (15:22 +0000)
commitc70b4b5f7e419214c8c61ba5306b569fbab7dc30
tree863ab78aeac654a408bc29c20c857f129fac881b
parent8f037fa1ab223f48750117219cd4fff8c6575970
cmd/internal/gc: show register dump before crashing on register left allocated

If you are using -h to get a stack trace at the site of the failure,
Yyerror will never return. Dump the register allocation sites
before calling Yyerror.

Change-Id: I51266c03e06cb5084c2eaa89b367b9ed85ba286a
Reviewed-on: https://go-review.googlesource.com/9788
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Dave Cheney <dave@cheney.net>
src/cmd/internal/gc/gsubr.go