diff options
| author | Keith Randall <khr@golang.org> | 2016-04-19 15:38:59 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2016-04-20 00:31:16 +0000 |
| commit | bfe0cbdc50cbc6a632d1e5ebbdcc625d69451935 (patch) | |
| tree | 597404c76de12818dc778adac839aa11aeff8b95 /src/debug | |
| parent | 0150f15a924a7b4ac0c794012f6b12c8aa406b54 (diff) | |
| download | go-bfe0cbdc50cbc6a632d1e5ebbdcc625d69451935.tar.xz | |
cmd/compile,runtime: pass elem type to {make,grow}slice
No point in passing the slice type to these functions.
All they need is the element type. One less indirection,
maybe a few less []T type descriptors in the binary.
Change-Id: Ib0b83b5f14ca21d995ecc199ce8ac00c4eb375e6
Reviewed-on: https://go-review.googlesource.com/22275
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Diffstat (limited to 'src/debug')
0 files changed, 0 insertions, 0 deletions
