aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/malloc.h
diff options
context:
space:
mode:
authorDmitriy Vyukov <dvyukov@google.com>2013-08-04 23:32:06 +0400
committerDmitriy Vyukov <dvyukov@google.com>2013-08-04 23:32:06 +0400
commit0a904a3f2ed1c4c09acdb9116aa3843e5ad14dad (patch)
tree0d0ce1c5fb0780ed9d7cf8ba2866303dd8b96fd8 /src/pkg/runtime/malloc.h
parent77f21eea597f374e025497c167caccfd72864e13 (diff)
downloadgo-0a904a3f2ed1c4c09acdb9116aa3843e5ad14dad.tar.xz
runtime: remove dead code
Remove dead code related to allocation of type metadata with SysAlloc. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12311045
Diffstat (limited to 'src/pkg/runtime/malloc.h')
-rw-r--r--src/pkg/runtime/malloc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pkg/runtime/malloc.h b/src/pkg/runtime/malloc.h
index 584fc83486..20cf6fb96b 100644
--- a/src/pkg/runtime/malloc.h
+++ b/src/pkg/runtime/malloc.h
@@ -334,7 +334,6 @@ enum
struct MTypes
{
byte compression; // one of MTypes_*
- bool sysalloc; // whether (void*)data is from runtime·SysAlloc
uintptr data;
};
@@ -459,7 +458,7 @@ void runtime·purgecachedstats(MCache*);
void* runtime·cnew(Type*);
void* runtime·cnewarray(Type*, intgo);
-void runtime·settype_flush(M*, bool);
+void runtime·settype_flush(M*);
void runtime·settype_sysfree(MSpan*);
uintptr runtime·gettype(void*);