summaryrefslogtreecommitdiff
path: root/src/cmd/gc/builtin.c.boot
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-10-15 23:10:49 -0700
committerRuss Cox <rsc@golang.org>2009-10-15 23:10:49 -0700
commit3b4064568e171fcfbd21b97062b7df6610b563e9 (patch)
tree2b917b03646327a48fef08173fc6522500888d78 /src/cmd/gc/builtin.c.boot
parent773efdf0be567f445b0f5eb312f09ac00d8fa5ae (diff)
downloadgolang-3b4064568e171fcfbd21b97062b7df6610b563e9.tar.gz
rename sys functions to runtime,
because they are in package runtime. another step to enforcing package boundaries. R=r DELTA=732 (114 added, 93 deleted, 525 changed) OCL=35811 CL=35824
Diffstat (limited to 'src/cmd/gc/builtin.c.boot')
-rw-r--r--src/cmd/gc/builtin.c.boot150
1 files changed, 75 insertions, 75 deletions
diff --git a/src/cmd/gc/builtin.c.boot b/src/cmd/gc/builtin.c.boot
index ed2bea22a..fc8a6d1f6 100644
--- a/src/cmd/gc/builtin.c.boot
+++ b/src/cmd/gc/builtin.c.boot
@@ -1,78 +1,78 @@
-char *sysimport =
- "package sys\n"
- "func sys.mal (? int32) (? *any)\n"
- "func sys.throwindex ()\n"
- "func sys.throwreturn ()\n"
- "func sys.throwinit ()\n"
- "func sys.panicl ()\n"
- "func sys.printbool (? bool)\n"
- "func sys.printfloat (? float64)\n"
- "func sys.printint (? int64)\n"
- "func sys.printuint (? uint64)\n"
- "func sys.printstring (? string)\n"
- "func sys.printpointer (? any)\n"
- "func sys.printiface (? any)\n"
- "func sys.printeface (? any)\n"
- "func sys.printslice (? any)\n"
- "func sys.printnl ()\n"
- "func sys.printsp ()\n"
- "func sys.catstring (? string, ? string) (? string)\n"
- "func sys.cmpstring (? string, ? string) (? int)\n"
- "func sys.slicestring (? string, ? int, ? int) (? string)\n"
- "func sys.indexstring (? string, ? int) (? uint8)\n"
- "func sys.intstring (? int64) (? 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"
- "func sys.ifaceE2I (typ *uint8, iface any) (ret any)\n"
- "func sys.ifaceT2E (typ *uint8, elem any) (ret any)\n"
- "func sys.ifaceE2T (typ *uint8, elem any) (ret any)\n"
- "func sys.ifaceE2I2 (typ *uint8, iface any) (ret any, ok bool)\n"
- "func sys.ifaceE2T2 (typ *uint8, elem any) (ret any, ok bool)\n"
- "func sys.ifaceT2I (typ1 *uint8, typ2 *uint8, elem any) (ret any)\n"
- "func sys.ifaceI2T (typ *uint8, iface any) (ret any)\n"
- "func sys.ifaceI2T2 (typ *uint8, iface any) (ret any, ok bool)\n"
- "func sys.ifaceI2I (typ *uint8, iface any) (ret any)\n"
- "func sys.ifaceI2Ix (typ *uint8, iface any) (ret any)\n"
- "func sys.ifaceI2I2 (typ *uint8, iface any) (ret any, ok bool)\n"
- "func sys.ifaceeq (i1 any, i2 any) (ret bool)\n"
- "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.makemap (key *uint8, val *uint8, 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"
- "func sys.mapassign2 (hmap map[any] any, key any, val any, pres bool)\n"
- "func sys.mapiterinit (hmap map[any] any, hiter *any)\n"
- "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.makechan (elem *uint8, 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"
- "func sys.chansend2 (hchan chan<- any, elem any) (pres bool)\n"
- "func sys.closechan (hchan any)\n"
- "func sys.closedchan (hchan any) (? bool)\n"
- "func sys.newselect (size int) (sel *uint8)\n"
- "func sys.selectsend (sel *uint8, hchan chan<- any, elem any) (selected bool)\n"
- "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.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"
- "func sys.int64mod (? int64, ? int64) (? int64)\n"
- "func sys.uint64mod (? uint64, ? uint64) (? uint64)\n"
- "func sys.float64toint64 (? float64) (? int64)\n"
- "func sys.int64tofloat64 (? int64) (? float64)\n"
+char *runtimeimport =
+ "package runtime\n"
+ "func runtime.mal (? int32) (? *any)\n"
+ "func runtime.throwindex ()\n"
+ "func runtime.throwreturn ()\n"
+ "func runtime.throwinit ()\n"
+ "func runtime.panicl ()\n"
+ "func runtime.printbool (? bool)\n"
+ "func runtime.printfloat (? float64)\n"
+ "func runtime.printint (? int64)\n"
+ "func runtime.printuint (? uint64)\n"
+ "func runtime.printstring (? string)\n"
+ "func runtime.printpointer (? any)\n"
+ "func runtime.printiface (? any)\n"
+ "func runtime.printeface (? any)\n"
+ "func runtime.printslice (? any)\n"
+ "func runtime.printnl ()\n"
+ "func runtime.printsp ()\n"
+ "func runtime.catstring (? string, ? string) (? string)\n"
+ "func runtime.cmpstring (? string, ? string) (? int)\n"
+ "func runtime.slicestring (? string, ? int, ? int) (? string)\n"
+ "func runtime.indexstring (? string, ? int) (? uint8)\n"
+ "func runtime.intstring (? int64) (? string)\n"
+ "func runtime.slicebytetostring (? []uint8) (? string)\n"
+ "func runtime.sliceinttostring (? []int) (? string)\n"
+ "func runtime.stringiter (? string, ? int) (? int)\n"
+ "func runtime.stringiter2 (? string, ? int) (retk int, retv int)\n"
+ "func runtime.ifaceI2E (iface any) (ret any)\n"
+ "func runtime.ifaceE2I (typ *uint8, iface any) (ret any)\n"
+ "func runtime.ifaceT2E (typ *uint8, elem any) (ret any)\n"
+ "func runtime.ifaceE2T (typ *uint8, elem any) (ret any)\n"
+ "func runtime.ifaceE2I2 (typ *uint8, iface any) (ret any, ok bool)\n"
+ "func runtime.ifaceE2T2 (typ *uint8, elem any) (ret any, ok bool)\n"
+ "func runtime.ifaceT2I (typ1 *uint8, typ2 *uint8, elem any) (ret any)\n"
+ "func runtime.ifaceI2T (typ *uint8, iface any) (ret any)\n"
+ "func runtime.ifaceI2T2 (typ *uint8, iface any) (ret any, ok bool)\n"
+ "func runtime.ifaceI2I (typ *uint8, iface any) (ret any)\n"
+ "func runtime.ifaceI2Ix (typ *uint8, iface any) (ret any)\n"
+ "func runtime.ifaceI2I2 (typ *uint8, iface any) (ret any, ok bool)\n"
+ "func runtime.ifaceeq (i1 any, i2 any) (ret bool)\n"
+ "func runtime.efaceeq (i1 any, i2 any) (ret bool)\n"
+ "func runtime.ifacethash (i1 any) (ret uint32)\n"
+ "func runtime.efacethash (i1 any) (ret uint32)\n"
+ "func runtime.makemap (key *uint8, val *uint8, hint int) (hmap map[any] any)\n"
+ "func runtime.mapaccess1 (hmap map[any] any, key any) (val any)\n"
+ "func runtime.mapaccess2 (hmap map[any] any, key any) (val any, pres bool)\n"
+ "func runtime.mapassign1 (hmap map[any] any, key any, val any)\n"
+ "func runtime.mapassign2 (hmap map[any] any, key any, val any, pres bool)\n"
+ "func runtime.mapiterinit (hmap map[any] any, hiter *any)\n"
+ "func runtime.mapiternext (hiter *any)\n"
+ "func runtime.mapiter1 (hiter *any) (key any)\n"
+ "func runtime.mapiter2 (hiter *any) (key any, val any)\n"
+ "func runtime.makechan (elem *uint8, hint int) (hchan chan any)\n"
+ "func runtime.chanrecv1 (hchan <-chan any) (elem any)\n"
+ "func runtime.chanrecv2 (hchan <-chan any) (elem any, pres bool)\n"
+ "func runtime.chansend1 (hchan chan<- any, elem any)\n"
+ "func runtime.chansend2 (hchan chan<- any, elem any) (pres bool)\n"
+ "func runtime.closechan (hchan any)\n"
+ "func runtime.closedchan (hchan any) (? bool)\n"
+ "func runtime.newselect (size int) (sel *uint8)\n"
+ "func runtime.selectsend (sel *uint8, hchan chan<- any, elem any) (selected bool)\n"
+ "func runtime.selectrecv (sel *uint8, hchan <-chan any, elem *any) (selected bool)\n"
+ "func runtime.selectdefault (sel *uint8) (selected bool)\n"
+ "func runtime.selectgo (sel *uint8)\n"
+ "func runtime.makeslice (nel int, cap int, width int) (ary []any)\n"
+ "func runtime.sliceslice (old []any, lb int, hb int, width int) (ary []any)\n"
+ "func runtime.slicearray (old *any, nel int, lb int, hb int, width int) (ary []any)\n"
+ "func runtime.arraytoslice (old *any, nel int) (ary []any)\n"
+ "func runtime.closure ()\n"
+ "func runtime.int64div (? int64, ? int64) (? int64)\n"
+ "func runtime.uint64div (? uint64, ? uint64) (? uint64)\n"
+ "func runtime.int64mod (? int64, ? int64) (? int64)\n"
+ "func runtime.uint64mod (? uint64, ? uint64) (? uint64)\n"
+ "func runtime.float64toint64 (? float64) (? int64)\n"
+ "func runtime.int64tofloat64 (? int64) (? float64)\n"
"\n"
"$$\n";
char *unsafeimport =