From 5305a329d8b6656d357d761afdd8067f61b1cad2 Mon Sep 17 00:00:00 2001 From: Keith Randall Date: Tue, 15 Mar 2016 15:00:57 -0700 Subject: [PATCH] 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 --- src/cmd/compile/internal/ssa/compile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/compile/internal/ssa/compile.go b/src/cmd/compile/internal/ssa/compile.go index 8080b7aabaf..5c0cc244a14 100644 --- a/src/cmd/compile/internal/ssa/compile.go +++ b/src/cmd/compile/internal/ssa/compile.go @@ -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