Fix a typo in findIntrinsic function where "GrtCallerSP" should be
"GetCallerSP". This typo was in the condition checking for runtime
intrinsic functions that don't have definitions.
Fixes #77432
Change-Id: I8667a42456b4b2c4533dfcbca198b46793f71c89
GitHub-Last-Rev:
00ea4034177381ca7f851ae002487dba3dba20f8
GitHub-Pull-Request: golang/go#77476
Reviewed-on: https://go-review.googlesource.com/c/go/+/742680
Reviewed-by: Jorropo <jorropo.pgm@gmail.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Jorropo <jorropo.pgm@gmail.com>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
fn := sym.Name
if ssa.IntrinsicsDisable {
- if pkg == "internal/runtime/sys" && (fn == "GetCallerPC" || fn == "GrtCallerSP" || fn == "GetClosurePtr") ||
+ if pkg == "internal/runtime/sys" && (fn == "GetCallerPC" || fn == "GetCallerSP" || fn == "GetClosurePtr") ||
pkg == simdPackage {
// These runtime functions don't have definitions, must be intrinsics.
} else {