cmd/compile/internal/ssa: fix typos in comment and log

Change-Id: Ic872bac2989ea1c83f31456eb334e6d756ebd7d1
GitHub-Last-Rev: d409884979
GitHub-Pull-Request: golang/go#66612
Reviewed-on: https://go-review.googlesource.com/c/go/+/575296
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: qiulaidongfeng <2645477756@qq.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Keith Randall <khr@golang.org>
This commit is contained in:
guoguangwu 2024-03-30 04:14:55 +00:00 committed by Gopher Robot
parent e0cd90528e
commit cb6d15a747
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ type Logger interface {
// some logging calls account for more than a few heap allocations.
Log() bool
// Fatal reports a compiler error and exits.
// Fatalf reports a compiler error and exits.
Fatalf(pos src.XPos, msg string, args ...interface{})
// Warnl writes compiler messages in the form expected by "errorcheck" tests

View File

@ -192,7 +192,7 @@ func skipSubTest(t *testing.T, tag string, basename string, gcflags string, coun
if *force {
testNexting(t, basename, tag, gcflags, count, moreargs...)
} else {
t.Skip("skipping flaky test becaused not forced (-f)")
t.Skip("skipping flaky test because not forced (-f)")
}
})
}