diff options
| author | Josh Bleecher Snyder <josharian@gmail.com> | 2017-08-11 08:48:10 -0700 |
|---|---|---|
| committer | Josh Bleecher Snyder <josharian@gmail.com> | 2017-08-15 00:19:36 +0000 |
| commit | 02ad116bf1fa7c324390f03974f5879a2f06495e (patch) | |
| tree | c89c100ea403e3ff6698595b48bb128751e2b6a2 /src/runtime/plugin.go | |
| parent | c50a9718a6749c693ce13faaa0e1c4038bfb6c5e (diff) | |
| download | go-02ad116bf1fa7c324390f03974f5879a2f06495e.tar.xz | |
runtime: unify cases in mapiternext
The preceding cleanup made it clear that two cases
(have golden data, unreachable key) are handled identically.
Simplify the control flow to reflect that.
Simplifies the code and generates shorter machine code.
Change-Id: Id612e0da6679813e855506f47222c58ea6497d70
Reviewed-on: https://go-review.googlesource.com/55093
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/runtime/plugin.go')
0 files changed, 0 insertions, 0 deletions
