diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-02-09 01:13:32 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-02-09 19:00:16 -0800 |
| commit | 79b1563abb32a385724bbe5ce6b4cdbee9ae5dc7 (patch) | |
| tree | baa648a32c783bc950299bc9d8e33201132366ee /src/rt/rust_task_thread.h | |
| parent | bfb80064d2dd37bd1e7009d98aa585253f5a2812 (diff) | |
| download | rust-79b1563abb32a385724bbe5ce6b4cdbee9ae5dc7.tar.gz rust-79b1563abb32a385724bbe5ce6b4cdbee9ae5dc7.zip | |
rt: Use rust_task_thread's C-stack pool for native calls
Diffstat (limited to 'src/rt/rust_task_thread.h')
| -rw-r--r-- | src/rt/rust_task_thread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rt/rust_task_thread.h b/src/rt/rust_task_thread.h index 360e4e44e0b..82609bc887a 100644 --- a/src/rt/rust_task_thread.h +++ b/src/rt/rust_task_thread.h @@ -95,6 +95,10 @@ struct rust_task_thread : public kernel_owned<rust_task_thread>, private: stk_seg *cached_c_stack; + stk_seg *extra_c_stack; + + void prepare_c_stack(); + void unprepare_c_stack(); public: |
