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
This commit is contained in:
parent
457683c7fe
commit
8124846b2c
11 changed files with 52 additions and 80 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue