diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-02-08 17:55:36 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-02-09 19:00:15 -0800 |
| commit | 889a78349426f28d1db508729e1091bad7cf46ea (patch) | |
| tree | 53886eeb9e9991c8e5b77fd7732d3c369edd4e7d /src/rt/rust_task.cpp | |
| parent | d39ea4774614f1db3366184f1e6ce30b7614d9ff (diff) | |
| download | rust-889a78349426f28d1db508729e1091bad7cf46ea.tar.gz rust-889a78349426f28d1db508729e1091bad7cf46ea.zip | |
rt: Remove rust_task::rust_sp
Diffstat (limited to 'src/rt/rust_task.cpp')
| -rw-r--r-- | src/rt/rust_task.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index d2ebac63793..e5c20789760 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -219,7 +219,6 @@ rust_task::rust_task(rust_task_thread *thread, rust_task_list *state, DLOG(thread, task, "sizeof(task) = %d (0x%x)", sizeof *this, sizeof *this); stk = new_stk(thread, this, init_stack_sz); - rust_sp = stk->end; if (supervisor) { supervisor->ref(); } @@ -336,7 +335,7 @@ rust_task::start(spawn_fn spawnee_fn, I(thread, stk->data != NULL); - char *sp = (char *)rust_sp; + char *sp = (char *)stk->end; sp -= sizeof(spawn_args); |
