Commit c36b5322 authored by Inada Naoki's avatar Inada Naoki Committed by Katie Hockman
Browse files

[release-branch.go1.11] 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.

Updates #29565

Change-Id: Icfa42b8759ce8ad9267dcb3859c626feb6fda381
Reviewed-on: https://go-review.googlesource.com/c/155779


Reviewed-by: default avatarKeith Randall <khr@golang.org>
(cherry picked from commit 5372257e)
Reviewed-on: https://go-review.googlesource.com/c/156357


Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent b2c472f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment