Commit 9204eb4d authored by Jan Ziak's avatar Jan Ziak Committed by Russ Cox

runtime: interpret type information during garbage collection

R=rsc, dvyukov, remyoudompheng, dave, minux.ma, bradfitz
CC=golang-dev
https://golang.org/cl/6945069
parent dd1c3714
......@@ -489,5 +489,6 @@ enum
// defined in mgc0.go
void runtime·gc_m_ptr(Eface*);
void runtime·gc_itab_ptr(Eface*);
void runtime·memorydump(void);
This diff is collapsed.
......@@ -8,3 +8,8 @@ package runtime
func gc_m_ptr(ret *interface{}) {
*ret = (*m)(nil)
}
// Called from C. Returns the Go type *itab.
func gc_itab_ptr(ret *interface{}) {
*ret = (*itab)(nil)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment