]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile/internal/noder: rename RelIndex to match codebase
authorMark Freeman <mark@golang.org>
Thu, 29 May 2025 18:54:23 +0000 (14:54 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 30 May 2025 04:19:36 +0000 (21:19 -0700)
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>
src/cmd/compile/internal/noder/doc.go

index f76e5723b78fce9aaad6cd712359b71e4cfb1c16..baf7c674638d2b217d46e568f0287fe36c1561bb 100644 (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
 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