diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-12-07 14:06:27 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-12-07 14:06:46 -0800 |
| commit | 81f932e7d7e7949263731923f33a4c6dd05554bf (patch) | |
| tree | 6c876cffc30f5510fc7ed3a97edfc848d3f193c6 /src/rt/rust_task.cpp | |
| parent | e056ffa17d8dad336a3f8380d3d23f282f7f067d (diff) | |
| download | rust-81f932e7d7e7949263731923f33a4c6dd05554bf.tar.gz rust-81f932e7d7e7949263731923f33a4c6dd05554bf.zip | |
rt: Fix alignment of stacks generated by __morestack
Diffstat (limited to 'src/rt/rust_task.cpp')
| -rw-r--r-- | src/rt/rust_task.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index bdc2f7ff7ce..ffcbcc1da5f 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -600,7 +600,6 @@ rust_task::new_stack(size_t stk_sz, void *args_addr, size_t args_sz) { // Make enough room on the new stack to hold the old stack pointer // in addition to the function arguments new_sp = align_down(new_sp - (args_sz + sizeof_retaddr)); - new_sp += sizeof_retaddr; memcpy(new_sp, args_addr, args_sz); record_stack_limit(); return new_sp; |
