diff options
author | Keith Randall <khr@golang.org> | 2013-12-17 16:55:06 -0800 |
---|---|---|
committer | Keith Randall <khr@golang.org> | 2013-12-17 16:55:06 -0800 |
commit | 6cf2b6fcbb73ac89921d4c953927ea8f6ec3c806 (patch) | |
tree | de2172dbd4f4fe07dab8e13ecd44c0bfb9922465 /src/cmd/gc/builtin.c | |
parent | b29e7bfcb532256cd967eb61392ccd652c894250 (diff) | |
download | go-6cf2b6fcbb73ac89921d4c953927ea8f6ec3c806.tar.gz |
runtime, gc: call interface conversion routines by reference.
Part of getting rid of vararg C calls.
R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/23310043
Diffstat (limited to 'src/cmd/gc/builtin.c')
-rw-r--r-- | src/cmd/gc/builtin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/gc/builtin.c b/src/cmd/gc/builtin.c index f88659ee0..1b0297d7c 100644 --- a/src/cmd/gc/builtin.c +++ b/src/cmd/gc/builtin.c @@ -42,8 +42,8 @@ char *runtimeimport = "func @\"\".typ2Itab (@\"\".typ·2 *byte, @\"\".typ2·3 *byte, @\"\".cache·4 **byte) (@\"\".ret·1 *byte)\n" "func @\"\".convI2E (@\"\".elem·2 any) (@\"\".ret·1 any)\n" "func @\"\".convI2I (@\"\".typ·2 *byte, @\"\".elem·3 any) (@\"\".ret·1 any)\n" - "func @\"\".convT2E (@\"\".typ·2 *byte, @\"\".elem·3 any) (@\"\".ret·1 any)\n" - "func @\"\".convT2I (@\"\".typ·2 *byte, @\"\".typ2·3 *byte, @\"\".cache·4 **byte, @\"\".elem·5 any) (@\"\".ret·1 any)\n" + "func @\"\".convT2E (@\"\".typ·2 *byte, @\"\".elem·3 *any) (@\"\".ret·1 any)\n" + "func @\"\".convT2I (@\"\".typ·2 *byte, @\"\".typ2·3 *byte, @\"\".cache·4 **byte, @\"\".elem·5 *any) (@\"\".ret·1 any)\n" "func @\"\".assertE2E (@\"\".typ·2 *byte, @\"\".iface·3 any) (@\"\".ret·1 any)\n" "func @\"\".assertE2E2 (@\"\".typ·3 *byte, @\"\".iface·4 any) (@\"\".ret·1 any, @\"\".ok·2 bool)\n" "func @\"\".assertE2I (@\"\".typ·2 *byte, @\"\".iface·3 any) (@\"\".ret·1 any)\n" |