diff options
| author | yongqijia <YongqiJia520@gmail.com> | 2026-02-06 08:48:19 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2026-02-06 09:40:40 -0800 |
| commit | 491da55fdba438284656c370f6d2f3e0b0971a83 (patch) | |
| tree | 9576d2be91f409fdf5bd4eb0458b46af72ce9e02 /src/cmd/compile | |
| parent | bd7b8a52c847afcfc15b21741ec8972275a79c34 (diff) | |
| download | go-491da55fdba438284656c370f6d2f3e0b0971a83.tar.xz | |
cmd/compile/internal/ssagen: fix typo GrtCallerSP -> GetCallerSP
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>
Diffstat (limited to 'src/cmd/compile')
| -rw-r--r-- | src/cmd/compile/internal/ssagen/intrinsics.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/ssagen/intrinsics.go b/src/cmd/compile/internal/ssagen/intrinsics.go index dbdebd5aaf..f6ece1fbe3 100644 --- a/src/cmd/compile/internal/ssagen/intrinsics.go +++ b/src/cmd/compile/internal/ssagen/intrinsics.go @@ -2170,7 +2170,7 @@ func findIntrinsic(sym *types.Sym) intrinsicBuilder { 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 { |
