]> Cypherpunks repositories - gostls13.git/commit
runtime: simplify stkframe.argMapInternal
authorAustin Clements <austin@google.com>
Fri, 26 Aug 2022 18:38:19 +0000 (14:38 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 2 Sep 2022 19:09:03 +0000 (19:09 +0000)
commit55ca6a20afb718972f0625ce971081f78efe10bf
tree3a82a7d842a84b75323232e9728b8afa663cfa76
parent35026f373233de30dbdb6752822d3eabf2220c11
runtime: simplify stkframe.argMapInternal

Use an early return to reduce indentation and clarify flow.

For #54466.

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