]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: remove getcallerpc argument
authorAustin Clements <austin@google.com>
Fri, 22 Sep 2017 19:16:26 +0000 (15:16 -0400)
committerAustin Clements <austin@google.com>
Fri, 22 Sep 2017 22:17:15 +0000 (22:17 +0000)
commit229aaac19e041ac74ab043d6ef09c8406bb0a9e7
treebfe5daa095c648c67152a4cfdc7365b55c203876
parent8cb2952f2f9c80246572b951e2663e79962796c0
runtime: remove getcallerpc argument

Now that getcallerpc is a compiler intrinsic on x86 and non-x86
platforms don't need the argument, we can drop it.

Sadly, this doesn't let us remove any dummy arguments since all of
those cases also use getcallersp, which still takes the argument
pointer, but this is at least an improvement.

Change-Id: I9c34a41cf2c18cba57f59938390bf9491efb22d2
Reviewed-on: https://go-review.googlesource.com/65474
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
20 files changed:
src/runtime/asm_arm.s
src/runtime/asm_arm64.s
src/runtime/asm_mips64x.s
src/runtime/asm_mipsx.s
src/runtime/asm_ppc64x.s
src/runtime/asm_s390x.s
src/runtime/chan.go
src/runtime/hashmap.go
src/runtime/hashmap_fast.go
src/runtime/iface.go
src/runtime/mbarrier.go
src/runtime/mprof.go
src/runtime/os_windows.go
src/runtime/panic.go
src/runtime/proc.go
src/runtime/select.go
src/runtime/slice.go
src/runtime/string.go
src/runtime/stubs.go
src/runtime/traceback.go