diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2011-10-20 11:56:45 +0200 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2011-10-20 14:22:17 +0200 |
| commit | 8124846b2c945f661a6bb85e66e22ca987891dc4 (patch) | |
| tree | a299fea71192b2716e063a7098e5c6b6850967bb /src/rt/rust_builtin.cpp | |
| parent | 457683c7feef42f07f3044ccfdc8ee7816176ab0 (diff) | |
| download | rust-8124846b2c945f661a6bb85e66e22ca987891dc4.tar.gz rust-8124846b2c945f661a6bb85e66e22ca987891dc4.zip | |
Get rid of taskpointer-passing throughout the compiler
Only intrinsics still take a dummy taskptr. We'll have to do some makefile stunts to snapshot a version without taskptrs-in-intrinsics. Issue #466
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 44fe75eb33c..8b179b92db8 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -452,9 +452,9 @@ struct fn_env_pair { // FIXME This is probably not needed at all anymore. Have to rearrange some // argument passing to remove it. -void rust_spawn_wrapper(void* retptr, rust_task* taskptr, void* envptr, - void(*func)(void*, rust_task*, void*)) { - func(retptr, taskptr, envptr); +void rust_spawn_wrapper(void* retptr, void* envptr, + void(*func)(void*, void*)) { + func(retptr, envptr); } extern "C" CDECL void |
