]> Cypherpunks repositories - gostls13.git/commit
runtime: unify fetching of locals and arguments maps
authorAustin Clements <austin@google.com>
Fri, 27 Apr 2018 01:20:41 +0000 (21:20 -0400)
committerAustin Clements <austin@google.com>
Mon, 14 May 2018 00:20:16 +0000 (00:20 +0000)
commit3080b7d0af65858400b13134c1c471e2cb35e647
tree37f9b7472f1b1fafa16d57eca563b72a33ae4398
parent66a67ee6b4831816ee86f1ea9e5bd555d3a13e16
runtime: unify fetching of locals and arguments maps

Currently we have two nearly identical copies of the code that fetches
the locals and arguments liveness maps for a frame, plus a third
that's a poor knock-off. Unify these all into a single function.

Change-Id: Ibce7926a0b0e3d23182112da4e25df899579a585
Reviewed-on: https://go-review.googlesource.com/109698
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/runtime/mbitmap.go
src/runtime/mgcmark.go
src/runtime/stack.go