diff options
| author | Alexandru Moșoi <mosoi@google.com> | 2016-03-13 22:12:03 +0100 |
|---|---|---|
| committer | Alexandru Moșoi <alexandru@mosoi.ro> | 2016-03-17 20:48:39 +0000 |
| commit | ebd9f1bd4c39bc2fe3bcf6f0d3c81f70dae495d8 (patch) | |
| tree | 8ba57c81353e31e45134bc2b9c47954f53481bd9 /src/make.bash | |
| parent | dbed1c6361f333f7a7aaec1a33a69d0b53956f6b (diff) | |
| download | go-ebd9f1bd4c39bc2fe3bcf6f0d3c81f70dae495d8.tar.xz | |
encoding/binary: remove bound checks from conversions.
* This the simplest solution I could came up with
that doesn't required changing the compiler.
* The bound checks become constants now
so they are removed during opt phase.
Updates #14808
Change-Id: If32c33d7ec08bb400321b465015d152f0a5d3001
Reviewed-on: https://go-review.googlesource.com/20654
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Alexandru Moșoi <alexandru@mosoi.ro>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/make.bash')
0 files changed, 0 insertions, 0 deletions
