aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-09-12 16:12:39 -0400
committerRuss Cox <rsc@golang.org>2014-09-12 16:12:39 -0400
commit44753479c60f66ee3051ddc0bf5d420b2a1bf662 (patch)
treef49cafa7902a5624c9ec41e5b8e962ab102da13e /src/runtime/runtime.h
parenta14c1c986eba6ca6a35bfb9feb833b8eff53c7b1 (diff)
downloadgo-44753479c60f66ee3051ddc0bf5d420b2a1bf662.tar.xz
runtime: remove a few untyped allocations
LGTM=iant, khr, rlh R=khr, iant, bradfitz, rlh CC=dvyukov, golang-codereviews https://golang.org/cl/142030044
Diffstat (limited to 'src/runtime/runtime.h')
-rw-r--r--src/runtime/runtime.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index 8c2b09b317..37728b4130 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -682,6 +682,7 @@ struct Stkframe
};
intgo runtime·gentraceback(uintptr, uintptr, uintptr, G*, intgo, uintptr*, intgo, bool(**)(Stkframe*, void*), void*, bool);
+void runtime·tracebackdefers(G*, bool(**)(Stkframe*, void*), void*);
void runtime·traceback(uintptr pc, uintptr sp, uintptr lr, G* gp);
void runtime·tracebackothers(G*);
bool runtime·haszeroargs(uintptr pc);
@@ -776,6 +777,7 @@ int32 runtime·mcmp(byte*, byte*, uintptr);
void runtime·memmove(void*, void*, uintptr);
String runtime·catstring(String, String);
String runtime·gostring(byte*);
+Slice runtime·makeStringSlice(intgo);
String runtime·gostringn(byte*, intgo);
Slice runtime·gobytes(byte*, intgo);
String runtime·gostringnocopy(byte*);