]> Cypherpunks repositories - gostls13.git/commit
runtime: consolidate stkframe and its methods into stkframe.go
authorAustin Clements <austin@google.com>
Wed, 17 Aug 2022 13:06:14 +0000 (09:06 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 2 Sep 2022 19:08:58 +0000 (19:08 +0000)
commit35026f373233de30dbdb6752822d3eabf2220c11
treeb3f4d042f67f59ee15de303769932f2fa12e48b6
parentb91e3737296c815ecf2508644cc07328172640eb
runtime: consolidate stkframe and its methods into stkframe.go

The stkframe struct and its methods are strewn across different source
files. Since they actually have a pretty coherent theme at this point,
migrate it all into a new file, stkframe.go. There are no code changes
in this CL.

For #54466, albeit rather indirectly.

Change-Id: Ibe53fc4b1106d131005e1c9d491be838a8f14211
Reviewed-on: https://go-review.googlesource.com/c/go/+/424516
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
Auto-Submit: Austin Clements <austin@google.com>
src/runtime/runtime2.go
src/runtime/stack.go
src/runtime/stkframe.go [new file with mode: 0644]
src/runtime/traceback.go