commit | 24513d33b1d6f4b5231baf7c1b896968b35841b6 | [log] [tgz] |
---|---|---|
author | Matthew Dempsky <mdempsky@google.com> | Tue Apr 23 14:06:12 2019 -0700 |
committer | Matthew Dempsky <mdempsky@google.com> | Tue Apr 23 22:53:21 2019 +0000 |
tree | 4346d59a8957628757ab4eea30d1032f6586a0fd | |
parent | 2e11881269d3ed30816a8ae8b7bedf9fbe55b995 [diff] |
cmd/compile: don't call hcrash in Warn Fixes #31638. Change-Id: I748f64b48b75241a9db31c9f37555379a841677a Reviewed-on: https://go-review.googlesource.com/c/go/+/173443 Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
diff --git a/src/cmd/compile/internal/gc/subr.go b/src/cmd/compile/internal/gc/subr.go index fc60eeb0..f3ec21c 100644 --- a/src/cmd/compile/internal/gc/subr.go +++ b/src/cmd/compile/internal/gc/subr.go
@@ -159,9 +159,7 @@ } func Warn(fmt_ string, args ...interface{}) { - adderr(lineno, fmt_, args...) - - hcrash() + Warnl(lineno, fmt_, args...) } func Warnl(line src.XPos, fmt_ string, args ...interface{}) {