]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.typeparams] runtime: allow newproc split stack
authorCherry Mui <cherryyz@google.com>
Sat, 5 Jun 2021 00:04:57 +0000 (20:04 -0400)
committerCherry Mui <cherryyz@google.com>
Fri, 11 Jun 2021 18:32:42 +0000 (18:32 +0000)
commit4468e1cfb94ed07fea5514dce740180fd3a6d20f
treec1b5afc400e0008033ee5e29c43778dbadd55bb7
parentef6c5be16025a1868fc27267b7abfb1c28329fe2
[dev.typeparams] runtime: allow newproc split stack

newproc was not allowed to split stack because it had a special
stack layout, where the go'd function's arguments were passed on
stack but not included in the signature (therefore the stack map).
Now it no longer has argument, so it does not need to be nosplit.

Change-Id: I6f39730fb1595c4b0438c74118fef418fe1c082b
Reviewed-on: https://go-review.googlesource.com/c/go/+/325919
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/runtime/proc.go