aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vendor/github.com/google
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2018-03-22 12:32:59 -0400
committerAustin Clements <austin@google.com>2018-03-22 18:20:31 +0000
commit48f990b4a5743426ebf39b9cf2930fe100ebca9e (patch)
treea6c3adf7c05f3897b255017bdfaedc811a6216cd /src/cmd/vendor/github.com/google
parent4f7b774822445ce9b6882c7cf93210d7ed2692c5 (diff)
downloadgo-48f990b4a5743426ebf39b9cf2930fe100ebca9e.tar.xz
cmd/compile: fix GOEXPERIMENT=preemptibleloops type-checking
This experiment has gone stale. It causes a type-checking failure because the condition of the OIF produced by range loop lowering has type "untyped bool". Fix this by typechecking the whole OIF statement, not just its condition. This doesn't quite fix the whole experiment, but it gets further. Something about preemption point insertion is causing failures like "internal compiler error: likeliness prediction 1 for block b10 with 1 successors" in cmd/compile/internal/gc. Change-Id: I7d80d618d7c91c338bf5f2a8dc174d582a479df3 Reviewed-on: https://go-review.googlesource.com/102157 Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/cmd/vendor/github.com/google')
0 files changed, 0 insertions, 0 deletions