]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix arg to getcallerpc
authorKeith Randall <khr@golang.org>
Tue, 12 Apr 2016 23:25:48 +0000 (16:25 -0700)
committerKeith Randall <khr@golang.org>
Wed, 13 Apr 2016 00:24:38 +0000 (00:24 +0000)
commit260b7daf0a3fa1548d976f2484325240d4bdb73a
tree32c88754e544bd6ac0261f40be0b9f332e7dafb1
parentb0cbe158da10aac1876680e825a902d58a9d1bac
cmd/compile: fix arg to getcallerpc

getcallerpc's arg needs to point to the first argument slot.
I believe this bug was introduced by Michel's itab changes
(specifically https://go-review.googlesource.com/c/20902).

Fixes #15145

Change-Id: Ifb2e17f3658e2136c7950dfc789b4d5706320683
Reviewed-on: https://go-review.googlesource.com/21931
Reviewed-by: Michel Lespinasse <walken@google.com>
src/runtime/iface.go