From 77fac21e82b94a8c1f481e9eeaafc1bad6db274c Mon Sep 17 00:00:00 2001 From: Luuk van Dijk Date: Wed, 12 Oct 2011 15:59:23 +0200 Subject: [PATCH] runtime: append([]byte, string...) Fixes #2274 R=rsc, gri, dsymonds, bradfitz, lvd CC=golang-dev https://golang.org/cl/5149045 --- doc/go_spec.html | 11 ++++-- src/cmd/gc/builtin.c.boot | 1 + src/cmd/gc/runtime.go | 1 + src/cmd/gc/typecheck.c | 8 +++-- src/cmd/gc/walk.c | 74 +++++++++++++++++++++------------------ src/pkg/runtime/slice.c | 51 ++++++++++++++++++--------- test/append.go | 5 +++ 7 files changed, 95 insertions(+), 56 deletions(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index 1ead370ea0..310efe3a85 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,5 +1,5 @@ - +