]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/gc: rebuild builtin.c
authorRuss Cox <rsc@golang.org>
Sun, 21 Oct 2012 21:15:56 +0000 (17:15 -0400)
committerRuss Cox <rsc@golang.org>
Sun, 21 Oct 2012 21:15:56 +0000 (17:15 -0400)
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

index 1313b3d162218f4b1b03ca8e62de1cf2d7f23cde..197255be4e49662e4f4912e7bf54a5c9c68aade1 100644 (file)
@@ -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"