diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-12-05 17:20:59 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-12-05 17:20:59 -0800 |
| commit | a731f165df26cb7575133d549ffd2f548bb3de99 (patch) | |
| tree | 1576ba5f9bbbb493b45a3ac0a72ff5980fa5faf8 /src/rt/rust_upcall.cpp | |
| parent | 3b8bfaf5343dd13839df465cde6a4df50136ff03 (diff) | |
| download | rust-a731f165df26cb7575133d549ffd2f548bb3de99.tar.gz rust-a731f165df26cb7575133d549ffd2f548bb3de99.zip | |
test: Test hitting the dynamic linker in the red zone
Diffstat (limited to 'src/rt/rust_upcall.cpp')
| -rw-r--r-- | src/rt/rust_upcall.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp index 670dbc3a24a..f202cd1fd67 100644 --- a/src/rt/rust_upcall.cpp +++ b/src/rt/rust_upcall.cpp @@ -222,7 +222,7 @@ upcall_call_shim_on_c_stack(void *args, void *fn_ptr) { // FIXME (1226) - The shim functions generated by rustc contain the // morestack prologue, so we need to let them know they have enough // stack. - //record_sp(0); + record_sp(0); rust_scheduler *sched = task->sched; try { @@ -232,8 +232,8 @@ upcall_call_shim_on_c_stack(void *args, void *fn_ptr) { //task->record_stack_limit(); throw; } - //task = rust_scheduler::get_task(); - //task->record_stack_limit(); + task = rust_scheduler::get_task(); + task->record_stack_limit(); } struct rust_new_stack2_args { |
