diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2012-03-15 17:28:14 +0100 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2012-03-16 00:44:06 +0100 |
| commit | 146b61189a5c206d744a09b9336c26e3dc1637c4 (patch) | |
| tree | 16e44a1b90c1f8b69dc663ad3c21c2bb4a4ccc11 /src/rt/rust_task_thread.cpp | |
| parent | bc21a5ddbe70b2a0c68db9e632ee7e78de9fa59e (diff) | |
| download | rust-146b61189a5c206d744a09b9336c26e3dc1637c4.tar.gz rust-146b61189a5c206d744a09b9336c26e3dc1637c4.zip | |
Get rid of rust_crate_cache in the runtime
We are no longer generating dynamic tydescs or dicts. Issue #1982
Diffstat (limited to 'src/rt/rust_task_thread.cpp')
| -rw-r--r-- | src/rt/rust_task_thread.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
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) { |
