diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2011-04-14 11:35:22 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2011-04-14 11:35:22 -0700 |
| commit | fee88f79f5d78de8bbebec6cfc4b04335fb597b6 (patch) | |
| tree | 3e2abaa4b8ee72b8a55e3347f2e28a6f7dba42b0 /src/rt/rust_task.cpp | |
| parent | 65b75788517ad797c1ae86f9d0c550ec620c4dfc (diff) | |
| download | rust-fee88f79f5d78de8bbebec6cfc4b04335fb597b6.tar.gz rust-fee88f79f5d78de8bbebec6cfc4b04335fb597b6.zip | |
rt: Remove half-baked, incomplete, commented-out print_stack_trace() stub
Diffstat (limited to 'src/rt/rust_task.cpp')
| -rw-r--r-- | src/rt/rust_task.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index 053d3610552..c2fefef0d99 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -252,23 +252,6 @@ rust_task::start(uintptr_t exit_task_glue, transition(&dom->newborn_tasks, &dom->running_tasks); } -#if 0 -void -rust_task::print_stack_trace() -{ - void *addrs[256]; - uintptr_t sp = this->rust_sp; - - // We need to be careful to not use any Rust stack space here, since this - // may be called on stack overflow. - asm("xchgl %0, %%esp\n" - "pushl $256\n" - "pushl %1\n" - "calll %3\n" - "xchgl %%esp, %0\n" -} -#endif - void rust_task::grow(size_t n_frame_bytes) { |
