]> Cypherpunks repositories - gostls13.git/commit
runtime: drop redundant argument to getArgInfo
authorAustin Clements <austin@google.com>
Tue, 16 Aug 2022 17:04:16 +0000 (13:04 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 2 Sep 2022 19:04:51 +0000 (19:04 +0000)
commit5063056bd19698a92da3fd69c34ee784af62b03e
tree23ca159c89f7ec69e1672a810efed90e4895839b
parent8be94b82ab1832ec8a07bcb16a0cb3872915dbb7
runtime: drop redundant argument to getArgInfo

The f funcInfo argument is always the same as frame.fn, so we don't
need to pass it. I suspect that was there to make the signatures of
getArgInfoFast and getArgInfo more similar, but it's not necessary.

For #54466.

Change-Id: Idc717f4df09e97cad49d52c5b7edf28090908cba
Reviewed-on: https://go-review.googlesource.com/c/go/+/424255
Run-TryBot: Austin Clements <austin@google.com>
Auto-Submit: Austin Clements <austin@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/runtime/traceback.go