]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: refactor Escape.tagHole
authorMatthew Dempsky <mdempsky@google.com>
Mon, 20 Apr 2020 18:14:15 +0000 (11:14 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 21 Apr 2020 20:48:43 +0000 (20:48 +0000)
commit181153369534c6987306c47630f9e4fbf07b467f
tree8e45206e2def916a1d1cb445ae95bd054012b6bf
parent300ff5d8ac12a5515234e68aa8a03637ba181937
cmd/compile: refactor Escape.tagHole

This CL refactors tagHole to handle all three call situations (unknown
function; known function in same analysis batch; known function in
previous analysis batch). This will make it somewhat easier to reuse
in a followup CL.

Passes toolstash-check.

Change-Id: I764d047a333dfc593d721a881361683e94b485df
Reviewed-on: https://go-review.googlesource.com/c/go/+/229059
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/gc/escape.go