aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/string.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-05-05 16:53:46 -0700
committerRuss Cox <rsc@golang.org>2009-05-05 16:53:46 -0700
commitf821e3c7c3a309ebdc1e3dbf4026b41c54e99d28 (patch)
tree827a9fef6b13482e7f2af8fd61fed0aaf950d74e /src/runtime/string.c
parentb8dd218e2e3990de7645755ce3d182b01929b98f (diff)
downloadgo-f821e3c7c3a309ebdc1e3dbf4026b41c54e99d28.tar.xz
6g tweaks
* byteastring is no longer used * do not generate ODCL, OAS for globals (wasn't generating any code but might save one or two init functions) * do not call self from Init function R=ken OCL=28309 CL=28309
Diffstat (limited to 'src/runtime/string.c')
-rw-r--r--src/runtime/string.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/runtime/string.c b/src/runtime/string.c
index c62731ea31..667828d66e 100644
--- a/src/runtime/string.c
+++ b/src/runtime/string.c
@@ -174,14 +174,6 @@ sys·intstring(int64 v, String s)
}
void
-sys·byteastring(byte *a, int32 l, String s)
-{
- s = gostringsize(l);
- mcpy(s.str, a, l);
- FLUSH(&s);
-}
-
-void
sys·arraystring(Array b, String s)
{
s = gostringsize(b.nel);