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

Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
guoguangwu 2024-03-30 12:09:59 +08:00
parent ba9c445f16
commit d409884979
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)")
}
})
}