runtime: enable precise GC checks when using stack maps
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 5 Mar 2019 23:05:38 +0000 (23:05 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 5 Mar 2019 23:05:38 +0000 (23:05 +0000)
commit03ac8302a60099632ea1f95af14db5dfd83f2970
tree2d09784730499ce1787c73cf4c43cd8d5d02d6f0
parent934e992600497edec7ca89952d8d6579844a5164
runtime: enable precise GC checks when using stack maps

    In the runtime there are bad pointer checks that currently don't
    work with the concervative collector. With stack maps, the GC is
    precise and the checks should work. Enable them.

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/153871

From-SVN: r269406
gcc/go/gofrontend/MERGE
libgo/go/runtime/mgcmark.go
libgo/go/runtime/mgcsweep.go
libgo/go/runtime/runtime1.go