about summary refs log tree commit diff
path: root/src/rt/test/rust_test_runtime.cpp
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <respindola@mozilla.com>2011-05-24 15:51:22 -0400
committerRafael Ávila de Espíndola <respindola@mozilla.com>2011-05-24 15:51:22 -0400
commitfe90159b86c0a044ce0bcef534e4800ea35ba01b (patch)
tree2b1cd2d821cb497755206fc74f6692b86ef2113c /src/rt/test/rust_test_runtime.cpp
parentfbc0e840e3e660c0f0acd3e738d005b2a4aec00f (diff)
downloadrust-fe90159b86c0a044ce0bcef534e4800ea35ba01b.tar.gz
rust-fe90159b86c0a044ce0bcef534e4800ea35ba01b.zip
"constant propagate" rust_new_exit_task_glue to its only use.
Diffstat (limited to 'src/rt/test/rust_test_runtime.cpp')
-rw-r--r--src/rt/test/rust_test_runtime.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rt/test/rust_test_runtime.cpp b/src/rt/test/rust_test_runtime.cpp
index 717d8b0c5f4..ffbc15d95f6 100644
--- a/src/rt/test/rust_test_runtime.cpp
+++ b/src/rt/test/rust_test_runtime.cpp
@@ -53,8 +53,7 @@ rust_task_test::worker::run() {
     rust_handle<rust_dom> *handle =
         kernel->create_domain(crate, "test");
     rust_dom *domain = handle->referent();
-    domain->root_task->start((uintptr_t)rust_new_exit_task_glue,
-                             (uintptr_t)&task_entry, (uintptr_t)NULL, 0);
+    domain->root_task->start((uintptr_t)&task_entry, (uintptr_t)NULL, 0);
     domain->start_main_loop();
     kernel->destroy_domain(domain);
 }