diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-12-18 16:59:49 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-12-18 17:17:31 -0800 |
| commit | bd6b80c9720bb4b0143378a052b568697ce3abe6 (patch) | |
| tree | 4d261511241d91b59b485f3192803c922d98b728 /src/rt/rust_task.h | |
| parent | c73eb8ff51da170ff10aba73934f10e40d26366d (diff) | |
| download | rust-bd6b80c9720bb4b0143378a052b568697ce3abe6.tar.gz rust-bd6b80c9720bb4b0143378a052b568697ce3abe6.zip | |
rt: Get rid of the rethrow in upcall_fail
Throwing in upcall_fail ends up running lots of code in the red zone. To avoid it we have the personality function figure out which stack it's on and switch as needed.
Diffstat (limited to 'src/rt/rust_task.h')
| -rw-r--r-- | src/rt/rust_task.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h index 3339ad42bfd..51ae00a6b70 100644 --- a/src/rt/rust_task.h +++ b/src/rt/rust_task.h @@ -202,6 +202,7 @@ rust_task : public kernel_owned<rust_task>, rust_cond void del_stack(); void record_stack_limit(); void reset_stack_limit(); + bool on_rust_stack(); }; // |
