diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-11-30 14:33:58 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-11-30 20:31:32 -0800 |
| commit | 408d4ec0ef40a2ce650fab8d730a79f08d35054a (patch) | |
| tree | 1406a67fb35e4dec6160fa8bd2072b4ea91bfcf0 /src/rt/rust_upcall.cpp | |
| parent | 037ca7f7cb00c5eb2def4b766c01aac4c07a9fb4 (diff) | |
| download | rust-408d4ec0ef40a2ce650fab8d730a79f08d35054a.tar.gz rust-408d4ec0ef40a2ce650fab8d730a79f08d35054a.zip | |
rt: Remove upcall_alloc_c_stack/call_c_stack, et. al.
We are using upcall_call_shim_on_c_stack now
Diffstat (limited to 'src/rt/rust_upcall.cpp')
| -rw-r--r-- | src/rt/rust_upcall.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp index aac4212cac7..839a9231f45 100644 --- a/src/rt/rust_upcall.cpp +++ b/src/rt/rust_upcall.cpp @@ -213,16 +213,6 @@ upcall_dynastack_free(void *ptr) { * Allocates |nbytes| bytes in the C stack and returns a pointer to the start * of the allocated space. */ -extern "C" CDECL void * -upcall_alloc_c_stack(size_t nbytes) { - rust_scheduler *sched = rust_scheduler::get_task()->sched; - return sched->c_context.alloc_stack(nbytes); -} - -/** - * Allocates |nbytes| bytes in the C stack and returns a pointer to the start - * of the allocated space. - */ extern "C" CDECL void upcall_call_shim_on_c_stack(void *args, void *fn_ptr) { rust_scheduler *sched = rust_scheduler::get_task()->sched; |
