about summary refs log tree commit diff
path: root/src/rt/rust_upcall.cpp
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <respindola@mozilla.com>2011-05-24 19:07:30 -0400
committerRafael Ávila de Espíndola <respindola@mozilla.com>2011-05-24 19:07:30 -0400
commit395940f7e396fea4507563f34c6e381e9d0c1a77 (patch)
treeb5fbb760dff924c387797bba9141f06177bf5ecd /src/rt/rust_upcall.cpp
parentde2e84e5b044d8635387bacd37d6088bd8dffd66 (diff)
downloadrust-395940f7e396fea4507563f34c6e381e9d0c1a77.tar.gz
rust-395940f7e396fea4507563f34c6e381e9d0c1a77.zip
Dead code elimination.
Diffstat (limited to 'src/rt/rust_upcall.cpp')
-rw-r--r--src/rt/rust_upcall.cpp2
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