mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
fece9871bb
commit
78e86297f5
1 changed files with 3 additions and 4 deletions
|
|
@ -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
|
||||
section.
|
||||
|
||||
// TODO(markfreeman): Rename to SectionIndex.
|
||||
RelIndex = Uint64 .
|
||||
RelElemIdx = Uint64 .
|
||||
|
||||
## String Section
|
||||
String values are stored as elements in the string section. Elements
|
||||
|
|
@ -147,7 +146,7 @@ referenced element.
|
|||
.
|
||||
RefTableEntry = [ Sync ]
|
||||
SectionKind
|
||||
RelIndex
|
||||
RelElemIdx
|
||||
.
|
||||
|
||||
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.
|
||||
UseReloc = [ Sync ]
|
||||
RelIndex
|
||||
RelElemIdx
|
||||
.
|
||||
|
||||
# Primitives
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue