]> Cypherpunks repositories - gostls13.git/commit
runtime: skip stack barrier copy when there are no pointers
authorInada Naoki <songofacandy@gmail.com>
Wed, 26 Dec 2018 15:47:20 +0000 (00:47 +0900)
committerKeith Randall <khr@golang.org>
Thu, 3 Jan 2019 18:48:52 +0000 (18:48 +0000)
commit5372257e600989ab4cf742b35e3fa649cad3f45c
treee8720c97da3e1e5f80e0e8d9853217f0a7d35013
parent30c0a0d33faee0355db2cb91e8599d6fd85fae76
runtime: skip stack barrier copy when there are no pointers

After CL 31455, "go fun(n)" may put "n" to write barrier buffer
when there are no pointers in fun's arguments.

Fixes #29362

Change-Id: Icfa42b8759ce8ad9267dcb3859c626feb6fda381
Reviewed-on: https://go-review.googlesource.com/c/155779
Reviewed-by: Keith Randall <khr@golang.org>
src/runtime/proc.go