diff options
| author | David Chase <drchase@google.com> | 2024-07-23 11:43:23 -0400 |
|---|---|---|
| committer | David Chase <drchase@google.com> | 2024-07-23 19:05:35 +0000 |
| commit | fc5073bc155545dde4856cccdfcbb31880d1eb66 (patch) | |
| tree | 90aba60eda016a9392cd8ee0d55a154d0aa570e3 /src/cmd/compile/internal/noder | |
| parent | f9eb3e3cd59c1cf38a98f2367c6c8dc180db9a95 (diff) | |
| download | go-fc5073bc155545dde4856cccdfcbb31880d1eb66.tar.xz | |
runtime,internal: move runtime/internal/sys to internal/runtime/sys
Cleanup and friction reduction
For #65355.
Change-Id: Ia14c9dc584a529a35b97801dd3e95b9acc99a511
Reviewed-on: https://go-review.googlesource.com/c/go/+/600436
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/noder')
| -rw-r--r-- | src/cmd/compile/internal/noder/helpers.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/compile/internal/noder/helpers.go b/src/cmd/compile/internal/noder/helpers.go index 0bff71e658..45512706d2 100644 --- a/src/cmd/compile/internal/noder/helpers.go +++ b/src/cmd/compile/internal/noder/helpers.go @@ -114,11 +114,11 @@ func isTypeParam(t types2.Type) bool { } // isNotInHeap reports whether typ is or contains an element of type -// runtime/internal/sys.NotInHeap. +// internal/runtime/sys.NotInHeap. func isNotInHeap(typ types2.Type) bool { typ = types2.Unalias(typ) if named, ok := typ.(*types2.Named); ok { - if obj := named.Obj(); obj.Name() == "nih" && obj.Pkg().Path() == "runtime/internal/sys" { + if obj := named.Obj(); obj.Name() == "nih" && obj.Pkg().Path() == "internal/runtime/sys" { return true } typ = named.Underlying() |
