]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: remove redundant save_g call in mcall for arm
authorJoel Sing <joel@sing.id.au>
Tue, 4 May 2021 18:01:52 +0000 (04:01 +1000)
committerJoel Sing <joel@sing.id.au>
Wed, 5 May 2021 09:00:06 +0000 (09:00 +0000)
commit4c9791299d418c7434bebe59a9a481b7a246e33b
tree721ccd56cbdc7e30b4401fd8411c753ce1e1ed25
parent9e0facd26ecefa5a3aa5bfd9e4034fe6d4b2f64e
runtime: remove redundant save_g call in mcall for arm

The setg call a few lines earlier has already performed the same iscgo check
and called save_g if necessary.

Change-Id: I6e7c44cef4e0397d6001a3d5b7e334cdfbc3ce22
Reviewed-on: https://go-review.googlesource.com/c/go/+/316929
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/runtime/asm_arm.s