diff options
| author | Michael Stapelberg <stapelberg@debian.org> | 2013-03-04 21:27:36 +0100 | 
|---|---|---|
| committer | Michael Stapelberg <michael@stapelberg.de> | 2013-03-04 21:27:36 +0100 | 
| commit | 04b08da9af0c450d645ab7389d1467308cfc2db8 (patch) | |
| tree | db247935fa4f2f94408edc3acd5d0d4f997aa0d8 /src/cmd/gc/runtime.go | |
| parent | 917c5fb8ec48e22459d77e3849e6d388f93d3260 (diff) | |
| download | golang-04b08da9af0c450d645ab7389d1467308cfc2db8.tar.gz | |
Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304
Diffstat (limited to 'src/cmd/gc/runtime.go')
| -rw-r--r-- | src/cmd/gc/runtime.go | 24 | 
1 files changed, 13 insertions, 11 deletions
| diff --git a/src/cmd/gc/runtime.go b/src/cmd/gc/runtime.go index 15a61d9ef..c49d05c5c 100644 --- a/src/cmd/gc/runtime.go +++ b/src/cmd/gc/runtime.go @@ -45,8 +45,7 @@ func appendslice(typ *byte, x any, y []any) any  func appendstr(typ *byte, x []byte, y string) []byte  func cmpstring(string, string) int -func slicestring(string, int, int) string -func slicestring1(string, int) string +func eqstring(string, string) bool  func intstring(int64) string  func slicebytetostring([]byte) string  func slicerunetostring([]rune) string @@ -54,14 +53,15 @@ func stringtoslicebyte(string) []byte  func stringtoslicerune(string) []rune  func stringiter(string, int) int  func stringiter2(string, int) (retk int, retv rune) -func copy(to any, fr any, wid uint32) int +func copy(to any, fr any, wid uintptr) int  func slicestringcopy(to any, fr any) int  // interface conversions +func typ2Itab(typ *byte, typ2 *byte, cache **byte) (ret *byte)  func convI2E(elem any) (ret any)  func convI2I(typ *byte, elem any) (ret any)  func convT2E(typ *byte, elem any) (ret any) -func convT2I(typ *byte, typ2 *byte, elem any) (ret any) +func convT2I(typ *byte, typ2 *byte, cache **byte, elem any) (ret any)  // interface type assertions  x.(T)  func assertE2E(typ *byte, iface any) (ret any) @@ -76,6 +76,8 @@ func assertI2I(typ *byte, iface any) (ret any)  func assertI2I2(typ *byte, iface any) (ret any, ok bool)  func assertI2T(typ *byte, iface any) (ret any)  func assertI2T2(typ *byte, iface any) (ret any, ok bool) +func assertI2TOK(typ *byte, iface any) (ok bool) +func assertE2TOK(typ *byte, iface any) (ok bool)  func ifaceeq(i1 any, i2 any) (ret bool)  func efaceeq(i1 any, i2 any) (ret bool) @@ -89,7 +91,6 @@ func makemap(mapType *byte, hint int64) (hmap map[any]any)  func mapaccess1(mapType *byte, hmap map[any]any, key any) (val any)  func mapaccess2(mapType *byte, hmap map[any]any, key any) (val any, pres bool)  func mapassign1(mapType *byte, hmap map[any]any, key any, val any) -func mapassign2(mapType *byte, hmap map[any]any, key any, val any, pres bool)  func mapiterinit(mapType *byte, hmap map[any]any, hiter *any)  func mapdelete(mapType *byte, hmap map[any]any, key any)  func mapiternext(hiter *any) @@ -107,7 +108,7 @@ func selectnbsend(chanType *byte, hchan chan<- any, elem any) bool  func selectnbrecv(chanType *byte, elem *any, hchan <-chan any) bool  func selectnbrecv2(chanType *byte, elem *any, received *bool, hchan <-chan any) bool -func newselect(size int) (sel *byte) +func newselect(size int32) (sel *byte)  func selectsend(sel *byte, hchan chan<- any, elem *any) (selected bool)  func selectrecv(sel *byte, hchan <-chan any, elem *any) (selected bool)  func selectrecv2(sel *byte, hchan <-chan any, elem *any, received *bool) (selected bool) @@ -117,11 +118,6 @@ func block()  func makeslice(typ *byte, nel int64, cap int64) (ary []any)  func growslice(typ *byte, old []any, n int64) (ary []any) -func sliceslice1(old []any, lb uint64, width uint64) (ary []any) -func sliceslice(old []any, lb uint64, hb uint64, width uint64) (ary []any) -func slicearray(old *any, nel uint64, lb uint64, hb uint64, width uint64) (ary []any) - -func closure() // has args, but compiler fills in  func memequal(eq *bool, size uintptr, x, y *any)  func memequal8(eq *bool, size uintptr, x, y *any) @@ -141,3 +137,9 @@ func int64tofloat64(int64) float64  func uint64tofloat64(uint64) float64  func complex128div(num complex128, den complex128) (quo complex128) + +// race detection +func racefuncenter(uintptr) +func racefuncexit() +func raceread(uintptr) +func racewrite(uintptr) | 
