]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: refactor static slice symbol creation
authorJosh Bleecher Snyder <josharian@gmail.com>
Wed, 8 Apr 2020 20:41:59 +0000 (13:41 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 9 Apr 2020 01:17:25 +0000 (01:17 +0000)
commit7096b1700d0961c7dac18c928bece1e98f1adedf
tree09e3fb3e4032b7ecfb1c94dcd2ea191742d68b65
parent376472ddb7252a4a859d89fc5ccb6db802e2b3b0
cmd/compile: refactor static slice symbol creation

This change mostly moves code around to unify it.
A subsequent change will simplify and improve slicesym.

Passes toolstash-check.

Change-Id: I84a877ea747febb2b571d4089ba6d905b51b27ec
Reviewed-on: https://go-review.googlesource.com/c/go/+/227549
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/obj.go
src/cmd/compile/internal/gc/sinit.go