1
0
mirror of https://github.com/golang/go synced 2024-11-19 07:04:43 -07:00

cmd/compile: turn off SSA internal consistency checks

They've been on for a few weeks of general use and nothing
has tripped up on them yet.

Makes the compiler ~18% faster.

Change-Id: I42d7bbc0581597f9cf4fb28989847814c81b08a2
Reviewed-on: https://go-review.googlesource.com/20741
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Keith Randall 2016-03-15 15:00:57 -07:00
parent 7e3344f74e
commit 5305a329d8

View File

@ -117,7 +117,7 @@ type pass struct {
}
// Run consistency checker between each phase
var checkEnabled = true
var checkEnabled = false
// PhaseOption sets the specified flag in the specified ssa phase,
// returning empty string if this was successful or a string explaining