Skip to content

Commit

Permalink
[release-branch.go1.17] cmd/internal/obj/x86: modify the threshold of…
Browse files Browse the repository at this point in the history
… assert loop for span6

Updates #49716.
Fixes #50942.

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>
(cherry picked from commit 14f2b2a)
Reviewed-on: https://go-review.googlesource.com/c/go/+/383214
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Alex Rakoczy <alex@golang.org>
  • Loading branch information
zhouguangyuan0718 authored and cherrymui committed Feb 7, 2022
1 parent faa0409 commit 17e179e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/internal/obj/x86/asm6.go
Original file line number Diff line number Diff line change
Expand Up @@ -2170,7 +2170,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")
}
Expand Down

0 comments on commit 17e179e

Please sign in to comment.