rustc: Port the fn and obj traversal logic over from the GC branch. Doesn't actually do anything yet due to lack of support in trans.

This commit is contained in:
Patrick Walton
2011-09-21 19:07:41 -07:00
parent ad3b9c41b4
commit 8c02adc630
6 changed files with 43 additions and 26 deletions

View File

@@ -115,7 +115,7 @@ rust_task : public kernel_owned<rust_task>, rust_cond
rust_obstack dynastack;
std::map<void *,type_desc *> local_allocs;
std::map<void *,const type_desc *> local_allocs;
// Only a pointer to 'name' is kept, so it must live as long as this task.
rust_task(rust_scheduler *sched,