]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: turn off SSA internal consistency checks
authorKeith Randall <khr@golang.org>
Tue, 15 Mar 2016 22:00:57 +0000 (15:00 -0700)
committerKeith Randall <khr@golang.org>
Tue, 15 Mar 2016 22:25:48 +0000 (22:25 +0000)
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>
src/cmd/compile/internal/ssa/compile.go

index 8080b7aabaf66acf4a6f528ddc221318bb61af40..5c0cc244a14e0f1ac1aa124d917cb2147ab120be 100644 (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