]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: don't Compile if Unimplemented
authorJosh Bleecher Snyder <josharian@gmail.com>
Thu, 16 Jul 2015 18:45:22 +0000 (12:45 -0600)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 16 Jul 2015 18:54:09 +0000 (18:54 +0000)
commit766bcc92a5b693f336deffc347be52fe68af884a
tree92ecf6178195c1f21c11d8c8980397a8793ef269
parentcd7e0594963fdd77c9baba60677c68c6e218dad6
[dev.ssa] cmd/compile: don't Compile if Unimplemented

If we've already hit an Unimplemented, there may be important
SSA invariants that do not hold and which could cause
ssa.Compile to hang or spin.

While we're here, make detected dependency cycles stop execution.

Change-Id: Ic7d4eea659e1fe3f2c9b3e8a4eee5567494f46ad
Reviewed-on: https://go-review.googlesource.com/12310
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/ssa/print.go