cmd/compile/internal/noder: rename RelIndex to match codebase

Change-Id: I06b64ea3c1c02b46e242852f8f0b56d77df42161
Reviewed-on: https://go-review.googlesource.com/c/go/+/677236
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Mark Freeman <mark@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
This commit is contained in:
Mark Freeman 2025-05-29 14:54:23 -04:00 committed by Gopher Robot
parent fece9871bb
commit 78e86297f5

View file

@ -39,8 +39,7 @@ kind. Go constructs are mapped onto (potentially multiple) elements.
Elements are accessed using an index relative to the start of the Elements are accessed using an index relative to the start of the
section. section.
// TODO(markfreeman): Rename to SectionIndex. RelElemIdx = Uint64 .
RelIndex = Uint64 .
## String Section ## String Section
String values are stored as elements in the string section. Elements String values are stored as elements in the string section. Elements
@ -147,7 +146,7 @@ referenced element.
. .
RefTableEntry = [ Sync ] RefTableEntry = [ Sync ]
SectionKind SectionKind
RelIndex RelElemIdx
. .
Elements encode references to other elements as an index in the Elements encode references to other elements as an index in the
@ -155,7 +154,7 @@ reference table — not the location of the referenced element directly.
// TODO(markfreeman): Rename to RefUse. // TODO(markfreeman): Rename to RefUse.
UseReloc = [ Sync ] UseReloc = [ Sync ]
RelIndex RelElemIdx
. .
# Primitives # Primitives