Commit 5372257e authored by Inada Naoki's avatar Inada Naoki Committed by Keith Randall
Browse files

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: default avatarKeith Randall <khr@golang.org>
parent 30c0a0d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment