Get rid of rust_crate_cache in the runtime

We are no longer generating dynamic tydescs or dicts.

Issue #1982
This commit is contained in:
Marijn Haverbeke
2012-03-15 17:28:14 +01:00
parent bc21a5ddbe
commit 146b61189a
10 changed files with 0 additions and 233 deletions

View File

@@ -71,7 +71,6 @@ rust_task::rust_task(rust_task_thread *thread, rust_task_list *state,
runtime_sp(0),
sched(thread->sched),
thread(thread),
cache(NULL),
kernel(thread->kernel),
name(name),
list_index(-1),
@@ -445,16 +444,6 @@ rust_task::die() {
transition(&thread->running_tasks, &thread->dead_tasks, NULL, "none");
}
rust_crate_cache *
rust_task::get_crate_cache()
{
if (!cache) {
DLOG(thread, task, "fetching cache for current crate");
cache = thread->get_cache();
}
return cache;
}
void
rust_task::backtrace() {
if (!log_rt_backtrace) return;