]> Cypherpunks repositories - gostls13.git/commit
runtime: remove indentation in evacuate
authorJosh Bleecher Snyder <josharian@gmail.com>
Thu, 10 Aug 2017 13:46:36 +0000 (06:46 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 14 Aug 2017 00:51:02 +0000 (00:51 +0000)
commita6136ded32878f9225e26b03ce9d9e84b0198af8
treee2f2a7ddd2c0488091fc302dda8832f297f4683d
parent38044eca7c67981aa0c98847a35ec2daf0763d0e
runtime: remove indentation in evacuate

Combine conditions into a single if statement.
This is more readable.

It should generate identical machine code, but it doesn't.
The new code is shorter.

Change-Id: I9bf52f8f288b0df97a2b9b4e4183f6ca74175e8a
Reviewed-on: https://go-review.googlesource.com/54651
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Martin Möhrmann <moehrmann@google.com>
src/runtime/hashmap.go