From 146b61189a5c206d744a09b9336c26e3dc1637c4 Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Thu, 15 Mar 2012 17:28:14 +0100 Subject: Get rid of rust_crate_cache in the runtime We are no longer generating dynamic tydescs or dicts. Issue #1982 --- src/rt/rust_task_thread.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/rt/rust_task_thread.cpp') diff --git a/src/rt/rust_task_thread.cpp b/src/rt/rust_task_thread.cpp index fd7c10ef676..8611e6e0f79 100644 --- a/src/rt/rust_task_thread.cpp +++ b/src/rt/rust_task_thread.cpp @@ -24,7 +24,6 @@ rust_task_thread::rust_task_thread(rust_scheduler *sched, int id) : rust_thread(SCHED_STACK_SIZE), _log(srv, this), - cache(this), id(id), should_exit(false), cached_c_stack(NULL), @@ -295,11 +294,6 @@ rust_task_thread::start_main_loop() { } } -rust_crate_cache * -rust_task_thread::get_cache() { - return &cache; -} - rust_task * rust_task_thread::create_task(rust_task *spawner, const char *name, size_t init_stack_sz) { -- cgit 1.4.1-3-g733a5