diff options
| author | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2011-05-24 19:07:30 -0400 |
|---|---|---|
| committer | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2011-05-24 19:07:30 -0400 |
| commit | 395940f7e396fea4507563f34c6e381e9d0c1a77 (patch) | |
| tree | b5fbb760dff924c387797bba9141f06177bf5ecd /src/rt/rust_upcall.cpp | |
| parent | de2e84e5b044d8635387bacd37d6088bd8dffd66 (diff) | |
| download | rust-395940f7e396fea4507563f34c6e381e9d0c1a77.tar.gz rust-395940f7e396fea4507563f34c6e381e9d0c1a77.zip | |
Dead code elimination.
Diffstat (limited to 'src/rt/rust_upcall.cpp')
| -rw-r--r-- | src/rt/rust_upcall.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp index c86a071eddf..07c9b6e3efc 100644 --- a/src/rt/rust_upcall.cpp +++ b/src/rt/rust_upcall.cpp @@ -573,7 +573,7 @@ upcall_new_thread(rust_task *task, const char *name) { rust_dom *parent_dom = task->dom; rust_kernel *kernel = parent_dom->kernel; rust_handle<rust_dom> *child_dom_handle = - kernel->create_domain(parent_dom->root_crate, name); + kernel->create_domain(name); rust_handle<rust_task> *child_task_handle = kernel->get_task_handle(child_dom_handle->referent()->root_task); LOG(task, mem, "child name: %s, child_dom_handle: " PTR |
