]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: fix build
authorJosh Bleecher Snyder <josharian@gmail.com>
Sun, 6 Sep 2015 22:04:46 +0000 (15:04 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Sun, 6 Sep 2015 22:08:14 +0000 (22:08 +0000)
commit95bb89f6dd4d92747bed1fe451379cd2b99ec5b7
treeb07a50f3e90615e6ca79248450d264727b3e6b14
parent4178f207763374c798c56a868b04d1aeacc21cd9
[dev.ssa] cmd/compile: fix build

CL 14337 made SSA support fixedbugs/issue9604b.go.
That test contains > 40k blocks.
This made the O(n^2) dom algorithm fail to terminate
in a reasonable length of time, breaking the build.

For the moment, cap the number of blocks
to fix the build.

This will be reverted when a more efficient
dom algorithm is put in place,
which will be soon.

Change-Id: Ia66c2629481d29d06655ec54d1deff076b0422c6
Reviewed-on: https://go-review.googlesource.com/14342
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/ssa/cse.go