diff options
author | Rob Pike <r@golang.org> | 2009-08-25 15:54:25 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2009-08-25 15:54:25 -0700 |
commit | a399c977c938c97082e61a01725cfe6d9db34867 (patch) | |
tree | f3913b178bfbc73429efbd39df31e880769d1c3d /src/cmd/gc/builtin.c.boot | |
parent | 5475005371c17da4fb7ef23ccd8ee050aa91807b (diff) | |
download | golang-a399c977c938c97082e61a01725cfe6d9db34867.tar.gz |
rename runtime internals to have modern names (array->slice etc)
R=rsc
DELTA=444 (179 added, 177 deleted, 88 changed)
OCL=33847
CL=33849
Diffstat (limited to 'src/cmd/gc/builtin.c.boot')
-rw-r--r-- | src/cmd/gc/builtin.c.boot | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/cmd/gc/builtin.c.boot b/src/cmd/gc/builtin.c.boot index 3cbb87e1e..e24d9d881 100644 --- a/src/cmd/gc/builtin.c.boot +++ b/src/cmd/gc/builtin.c.boot @@ -13,7 +13,7 @@ char *sysimport = "func sys.printpointer (? any)\n" "func sys.printiface (? any)\n" "func sys.printeface (? any)\n" - "func sys.printarray (? any)\n" + "func sys.printslice (? any)\n" "func sys.printnl ()\n" "func sys.printsp ()\n" "func sys.catstring (? string, ? string) (? string)\n" @@ -21,8 +21,8 @@ char *sysimport = "func sys.slicestring (? string, ? int, ? int) (? string)\n" "func sys.indexstring (? string, ? int) (? uint8)\n" "func sys.intstring (? int64) (? string)\n" - "func sys.arraystring (? []uint8) (? string)\n" - "func sys.arraystringi (? []int) (? string)\n" + "func sys.slicebytetostring (? []uint8) (? string)\n" + "func sys.sliceinttostring (? []int) (? string)\n" "func sys.stringiter (? string, ? int) (? int)\n" "func sys.stringiter2 (? string, ? int) (retk int, retv int)\n" "func sys.ifaceI2E (iface any) (ret any)\n" @@ -41,7 +41,7 @@ char *sysimport = "func sys.efaceeq (i1 any, i2 any) (ret bool)\n" "func sys.ifacethash (i1 any) (ret uint32)\n" "func sys.efacethash (i1 any) (ret uint32)\n" - "func sys.newmap (keysize int, valsize int, keyalg int, valalg int, hint int) (hmap map[any] any)\n" + "func sys.makemap (keysize int, valsize int, keyalg int, valalg int, hint int) (hmap map[any] any)\n" "func sys.mapaccess1 (hmap map[any] any, key any) (val any)\n" "func sys.mapaccess2 (hmap map[any] any, key any) (val any, pres bool)\n" "func sys.mapassign1 (hmap map[any] any, key any, val any)\n" @@ -50,7 +50,7 @@ char *sysimport = "func sys.mapiternext (hiter *any)\n" "func sys.mapiter1 (hiter *any) (key any)\n" "func sys.mapiter2 (hiter *any) (key any, val any)\n" - "func sys.newchan (elemsize int, elemalg int, hint int) (hchan chan any)\n" + "func sys.makechan (elemsize int, elemalg int, hint int) (hchan chan any)\n" "func sys.chanrecv1 (hchan <-chan any) (elem any)\n" "func sys.chanrecv2 (hchan <-chan any) (elem any, pres bool)\n" "func sys.chansend1 (hchan chan<- any, elem any)\n" @@ -62,10 +62,10 @@ char *sysimport = "func sys.selectrecv (sel *uint8, hchan <-chan any, elem *any) (selected bool)\n" "func sys.selectdefault (sel *uint8) (selected bool)\n" "func sys.selectgo (sel *uint8)\n" - "func sys.newarray (nel int, cap int, width int) (ary []any)\n" - "func sys.arraysliced (old []any, lb int, hb int, width int) (ary []any)\n" - "func sys.arrayslices (old *any, nel int, lb int, hb int, width int) (ary []any)\n" - "func sys.arrays2d (old *any, nel int) (ary []any)\n" + "func sys.makeslice (nel int, cap int, width int) (ary []any)\n" + "func sys.sliceslice (old []any, lb int, hb int, width int) (ary []any)\n" + "func sys.slicearray (old *any, nel int, lb int, hb int, width int) (ary []any)\n" + "func sys.arraytoslice (old *any, nel int) (ary []any)\n" "func sys.closure ()\n" "func sys.int64div (? int64, ? int64) (? int64)\n" "func sys.uint64div (? uint64, ? uint64) (? uint64)\n" |