cmd/compile: remove encoding of safemode bit from export data

Removes the encoding of this bit which was ignored but left behind
for 1.7 to minimize pre-1.7 export format changes. See the issue
for more details.

Fixes #15772.

Change-Id: I46cd7a66ad4c6003b78c64295cf3bda503ebf2dd
Reviewed-on: https://go-review.googlesource.com/27201
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
Robert Griesemer 2016-08-16 16:43:34 -07:00
parent 2b583a190e
commit f50ced6d73
3 changed files with 3 additions and 7 deletions

View file

@ -106,9 +106,6 @@ func Import(in *bufio.Reader) {
// read compiler-specific flags
// read but ignore safemode bit (see issue #15772)
p.bool() // formerly: importpkg.Safe = p.bool()
// phase 2
objcount = 0
for {