From 922c0b47557db7d686bfebe0e128a7a1dd6116e3 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 21 Oct 2012 17:15:56 -0400 Subject: [PATCH] cmd/gc: rebuild builtin.c Was not in sync with runtime.go, but the diffs didn't really matter, so nothing broke. R=ken2 CC=golang-dev https://golang.org/cl/6733057 --- src/cmd/gc/builtin.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/cmd/gc/builtin.c b/src/cmd/gc/builtin.c index 1313b3d162..197255be4e 100644 --- a/src/cmd/gc/builtin.c +++ b/src/cmd/gc/builtin.c @@ -28,8 +28,6 @@ char *runtimeimport = "func @\"\".appendstr(@\"\".typ *byte, @\"\".x []byte, @\"\".y string) (? []byte)\n" "func @\"\".cmpstring(? string, ? string) (? int)\n" "func @\"\".eqstring(? string, ? string) (? bool)\n" - "func @\"\".slicestring(? string, ? int, ? int) (? string)\n" - "func @\"\".slicestring1(? string, ? int) (? string)\n" "func @\"\".intstring(? int64) (? string)\n" "func @\"\".slicebytetostring(? []byte) (? string)\n" "func @\"\".slicerunetostring(? []rune) (? string)\n" @@ -37,7 +35,7 @@ char *runtimeimport = "func @\"\".stringtoslicerune(? string) (? []rune)\n" "func @\"\".stringiter(? string, ? int) (? int)\n" "func @\"\".stringiter2(? string, ? int) (@\"\".retk int, @\"\".retv rune)\n" - "func @\"\".copy(@\"\".to any, @\"\".fr any, @\"\".wid uint32) (? int)\n" + "func @\"\".copy(@\"\".to any, @\"\".fr any, @\"\".wid uintptr) (? int)\n" "func @\"\".slicestringcopy(@\"\".to any, @\"\".fr any) (? int)\n" "func @\"\".typ2Itab(@\"\".typ *byte, @\"\".typ2 *byte, @\"\".cache **byte) (@\"\".ret *byte)\n" "func @\"\".convI2E(@\"\".elem any) (@\"\".ret any)\n" @@ -79,7 +77,7 @@ char *runtimeimport = "func @\"\".selectnbsend(@\"\".chanType *byte, @\"\".hchan chan<- any, @\"\".elem any) (? bool)\n" "func @\"\".selectnbrecv(@\"\".chanType *byte, @\"\".elem *any, @\"\".hchan <-chan any) (? bool)\n" "func @\"\".selectnbrecv2(@\"\".chanType *byte, @\"\".elem *any, @\"\".received *bool, @\"\".hchan <-chan any) (? bool)\n" - "func @\"\".newselect(@\"\".size int) (@\"\".sel *byte)\n" + "func @\"\".newselect(@\"\".size int32) (@\"\".sel *byte)\n" "func @\"\".selectsend(@\"\".sel *byte, @\"\".hchan chan<- any, @\"\".elem *any) (@\"\".selected bool)\n" "func @\"\".selectrecv(@\"\".sel *byte, @\"\".hchan <-chan any, @\"\".elem *any) (@\"\".selected bool)\n" "func @\"\".selectrecv2(@\"\".sel *byte, @\"\".hchan <-chan any, @\"\".elem *any, @\"\".received *bool) (@\"\".selected bool)\n" -- 2.48.1