]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: emit string symbols during walk
authorJosh Bleecher Snyder <josharian@gmail.com>
Thu, 13 Apr 2017 13:11:36 +0000 (06:11 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 13 Apr 2017 16:37:04 +0000 (16:37 +0000)
commit16df2ccdedec47d0be940702bb064f656091bd28
tree71a1fc78b924bdced12b6bf9e7b2c9767e542b47
parentb0e5a0c93ccf5166dab30864df7e5632a5973447
cmd/compile: emit string symbols during walk

This avoids needing a mutex to protect stringsym,
and preserves a consistent ctxt.Data ordering
in the face of a concurrent backend.

Updates #15756

Change-Id: I775daae11db5db1269533a00f5249e3a03086ffc
Reviewed-on: https://go-review.googlesource.com/40509
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/walk.go