Fixes 386 build breakage.
R=rsc
CC=golang-dev
https://golang.org/cl/
6844091
pos2 := b.Rbrace
if pos1.IsValid() && pos2.IsValid() && p.lineFor(pos1) != p.lineFor(pos2) {
// opening and closing brace are on different lines - don't make it a one-liner
- return infinity
+ return maxSize + 1
}
if len(b.List) > 5 || p.commentBefore(p.posFor(pos2)) {
// too many statements or there is a comment inside - don't make it a one-liner
- return infinity
+ return maxSize + 1
}
// otherwise, estimate body size
bodySize := 0