commit | 9e065149970bc180e4ca83bb99c74d9c4f43b47b | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Wed Apr 19 12:23:16 2017 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Wed Apr 19 20:27:52 2017 +0000 |
tree | 34147f8db8ea34b363485b918a8475b0fc3ecfd4 | |
parent | b2ccc7601ce71a7c5732154cf9b2eeea64681469 [diff] |
compiler, runtime: don't pass size to __go_new There is no reason to pass the size to __go_new, as the type descriptor includes the size anyhow. This makes the function correspond to the Go 1.8 function runtime.newobject, which is what we will use when we update to the Go 1.8 memory allocator. Change-Id: I8817a5f204beaeac7b877d1e7a207a1893c1922f Reviewed-on: https://go-review.googlesource.com/41080 Reviewed-by: Than McIntosh <thanm@google.com>