]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/arm64: omit stack check for no-frame leafs
authorAustin Clements <austin@google.com>
Thu, 25 Jan 2018 18:31:03 +0000 (13:31 -0500)
committerAustin Clements <austin@google.com>
Mon, 12 Feb 2018 21:41:22 +0000 (21:41 +0000)
commit495174302f12eafa9f8793751a5208395b969fd6
treee4cf9913969dcb8a310a8f1921d4224bf510111f
parenta7f73c436dd6fee6a267bdc72b286524a70b685b
cmd/internal/obj/arm64: omit stack check for no-frame leafs

For leaf functions with zero-sized frames, there's no point in doing a
stack check, so omit it.

This aligns arm64 with other architectures.

Change-Id: I1fb483d62f1736af10c5110815d3f5a875a46d7f
Reviewed-on: https://go-review.googlesource.com/92037
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/internal/obj/arm64/obj7.go