Skip to content

Commit 14f2b2a

Browse files
zhouguangyuan0718cherrymui
authored andcommitted
cmd/internal/obj/x86: modify the threshold of assert loop for span6
Fixes: #49716 Change-Id: I7ed73f874c2ee1ee3f31c9c4428ed484167ca803 Reviewed-on: https://go-review.googlesource.com/c/go/+/366094 Reviewed-by: Cherry Mui <[email protected]> Trust: Heschi Kreinick <[email protected]>
1 parent 465b402 commit 14f2b2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cmd/internal/obj/x86/asm6.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2174,7 +2174,7 @@ func span6(ctxt *obj.Link, s *obj.LSym, newprog obj.ProgAlloc) {
21742174
}
21752175

21762176
n++
2177-
if n > 20 {
2177+
if n > 1000 {
21782178
ctxt.Diag("span must be looping")
21792179
log.Fatalf("loop")
21802180
}

0 commit comments

Comments
 (0)