diff options
| author | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2011-05-03 11:06:57 -0400 |
|---|---|---|
| committer | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2011-05-03 11:06:57 -0400 |
| commit | 561746238835f28e308cd8f8cf75bc8da707fd5f (patch) | |
| tree | d4dc86daa4eb40cad3538a37dd9a527324dac368 /src/rt/rust_task.cpp | |
| parent | a3ff02f1266795691d6cb97dc0de886c613b39ed (diff) | |
| download | rust-561746238835f28e308cd8f8cf75bc8da707fd5f.tar.gz rust-561746238835f28e308cd8f8cf75bc8da707fd5f.zip | |
Remove unused variable.
Diffstat (limited to 'src/rt/rust_task.cpp')
| -rw-r--r-- | src/rt/rust_task.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index bed4e57b194..7080d6f386d 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -290,8 +290,6 @@ rust_task::start_rustc(uintptr_t exit_task_glue, *spp-- = (uintptr_t) 0x0; // output *spp-- = (uintptr_t) 0x0; // retpc - uintptr_t exit_task_frame_base = 0; - I(dom, args); make_aligned_room_for_bytes(spp, callsz - 3 * sizeof(uintptr_t)); @@ -325,11 +323,7 @@ rust_task::start_rustc(uintptr_t exit_task_glue, // The context the activate_glue needs to switch stack. *spp-- = (uintptr_t) spawnee_fn; // instruction to start at for (size_t j = 0; j < n_callee_saves; ++j) { - // callee-saves to carry in when we activate - if (j == callee_save_fp) - *spp-- = exit_task_frame_base; - else - *spp-- = (uintptr_t)NULL; + *spp-- = (uintptr_t)NULL; } // Back up one, we overshot where sp should be. |
