diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-12-05 17:42:58 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-12-05 17:42:58 -0800 |
| commit | 58844aee421eccc5399d6a5bec278de5149e8117 (patch) | |
| tree | ffdddc49fd0eeee46bd6d7d9be4892d767af87df /src/rt/rust_upcall.cpp | |
| parent | a731f165df26cb7575133d549ffd2f548bb3de99 (diff) | |
| download | rust-58844aee421eccc5399d6a5bec278de5149e8117.tar.gz rust-58844aee421eccc5399d6a5bec278de5149e8117.zip | |
rt: Make stack unwinding work more correctly with stack growth
Diffstat (limited to 'src/rt/rust_upcall.cpp')
| -rw-r--r-- | src/rt/rust_upcall.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp index f202cd1fd67..653db471fc0 100644 --- a/src/rt/rust_upcall.cpp +++ b/src/rt/rust_upcall.cpp @@ -228,8 +228,8 @@ upcall_call_shim_on_c_stack(void *args, void *fn_ptr) { try { sched->c_context.call_shim_on_c_stack(args, fn_ptr); } catch (...) { - //task = rust_scheduler::get_task(); - //task->record_stack_limit(); + task = rust_scheduler::get_task(); + task->record_stack_limit(); throw; } task = rust_scheduler::get_task(); |
