]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: do regalloc check only when checkEnabled
authorKeith Randall <khr@golang.org>
Fri, 7 Oct 2016 16:35:04 +0000 (09:35 -0700)
committerKeith Randall <khr@golang.org>
Fri, 7 Oct 2016 17:33:15 +0000 (17:33 +0000)
commit93d5f43a29dea00a5dffd1fa8faed911a31b55fb
tree2790b56fcc538008f57cd7ce75f6fbfb6231ce17
parent0db9518ab30f35c7c185aed337037e8305a98b34
cmd/compile: do regalloc check only when checkEnabled

No point doing this check all the time.

Fixes #15621

Change-Id: I1966c061986fe98fe9ebe146d6b9738c13cef724
Reviewed-on: https://go-review.googlesource.com/30670
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/ssa/regalloc.go