]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: break out constants for local and global dictionary prefixes
authorDan Scales <danscales@google.com>
Wed, 22 Sep 2021 15:52:41 +0000 (08:52 -0700)
committerDan Scales <danscales@google.com>
Wed, 22 Sep 2021 23:17:55 +0000 (23:17 +0000)
commitee69b09424f611d02d4b0f0da3eff875e075438f
tree6c24b7f2360d70242cc61c94da297c9ac80319d4
parent1319b1476ea6f55c780936d133a005054fa81234
cmd/compile: break out constants for local and global dictionary prefixes

Create constant LocalDictName for the pname/refix for dictionary
parameters or local variables, and constant GlobalDictPrefix for the
prefix for names of global dictionaries. I wanted to make sure these
constants were set up as we add more reference to dictionaries for
debugging, etc.

Change-Id: Ide801f842383300a2699c96943ec06decaecc358
Reviewed-on: https://go-review.googlesource.com/c/go/+/351450
Trust: Dan Scales <danscales@google.com>
Run-TryBot: Dan Scales <danscales@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/compile/internal/noder/stencil.go
src/cmd/compile/internal/typecheck/iexport.go
src/cmd/compile/internal/typecheck/subr.go
src/cmd/internal/obj/objfile.go
src/cmd/internal/objabi/util.go