diff options
| author | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2011-05-24 15:51:22 -0400 |
|---|---|---|
| committer | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2011-05-24 15:51:22 -0400 |
| commit | fe90159b86c0a044ce0bcef534e4800ea35ba01b (patch) | |
| tree | 2b1cd2d821cb497755206fc74f6692b86ef2113c /src/rt/rust.cpp | |
| parent | fbc0e840e3e660c0f0acd3e738d005b2a4aec00f (diff) | |
| download | rust-fe90159b86c0a044ce0bcef534e4800ea35ba01b.tar.gz rust-fe90159b86c0a044ce0bcef534e4800ea35ba01b.zip | |
"constant propagate" rust_new_exit_task_glue to its only use.
Diffstat (limited to 'src/rt/rust.cpp')
| -rw-r--r-- | src/rt/rust.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rt/rust.cpp b/src/rt/rust.cpp index 1e708be0a49..e7db7ed5e34 100644 --- a/src/rt/rust.cpp +++ b/src/rt/rust.cpp @@ -99,8 +99,7 @@ rust_start(uintptr_t main_fn, rust_crate const *crate, int argc, } uintptr_t main_args[4] = {0, 0, 0, (uintptr_t)args->args}; - dom->root_task->start((uintptr_t)rust_new_exit_task_glue, - main_fn, + dom->root_task->start(main_fn, (uintptr_t)&main_args, sizeof(main_args)); int ret = dom->start_main_loop(); |
