1
0
mirror of https://github.com/golang/go synced 2024-11-11 19:21:37 -07:00

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 <cherryyz@google.com>
Trust: Heschi Kreinick <heschi@google.com>
This commit is contained in:
zhouguangyuan 2021-11-22 23:39:52 +08:00 committed by Cherry Mui
parent 465b402808
commit 14f2b2a4c5

View File

@ -2174,7 +2174,7 @@ func span6(ctxt *obj.Link, s *obj.LSym, newprog obj.ProgAlloc) {
}
n++
if n > 20 {
if n > 1000 {
ctxt.Diag("span must be looping")
log.Fatalf("loop")
}