]> Cypherpunks repositories - gostls13.git/commit
gc: more cleanup
authorRuss Cox <rsc@golang.org>
Wed, 9 Jun 2010 18:00:55 +0000 (11:00 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 9 Jun 2010 18:00:55 +0000 (11:00 -0700)
commita2a7d473f464d99b96366404a468d50131d61b9a
tree7e88feb433e89c7c55564cbceeb37d60baf6b37e
parent42a691b8778becb7d2ee78ac171e26e03dbbf30a
gc: more cleanup
 * disallow surrogate pair runes.
 * diagnose impossible type assertions
 * eliminate another static buffer.
 * do not overflow lexbuf.
 * add -u flag to disable package unsafe.

R=ken2
CC=golang-dev
https://golang.org/cl/1619042
src/cmd/gc/go.h
src/cmd/gc/lex.c
src/cmd/gc/subr.c
src/cmd/gc/typecheck.c
src/cmd/gc/unsafe.c
test/interface/explicit.go