X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rts%2FSchedule.c;h=3ae1fe0a1bba2f27b7fc12c1ebfef06380131b84;hp=bb36f9be076b9ad9d88943f2f0e41b55d794a22e;hb=5270423a6afe69f1dc57e5e5a474812182718d40;hpb=063b822bb68f84dd9729327bb1765637c25aceb4 diff --git a/rts/Schedule.c b/rts/Schedule.c index bb36f9b..3ae1fe0 100644 --- a/rts/Schedule.c +++ b/rts/Schedule.c @@ -2262,7 +2262,7 @@ threadStackOverflow(Capability *cap, StgTSO *tso) "increasing stack size from %ld words to %d.", (long)tso->stack_size, new_stack_size); - dest = (StgTSO *)allocateLocal(cap,new_tso_size); + dest = (StgTSO *)allocate(cap,new_tso_size); TICK_ALLOC_TSO(new_stack_size,0); /* copy the TSO block and the old stack into the new area */ @@ -2533,7 +2533,7 @@ raiseExceptionHelper (StgRegTable *reg, StgTSO *tso, StgClosure *exception) // Only create raise_closure if we need to. if (raise_closure == NULL) { raise_closure = - (StgThunk *)allocateLocal(cap,sizeofW(StgThunk)+1); + (StgThunk *)allocate(cap,sizeofW(StgThunk)+1); SET_HDR(raise_closure, &stg_raise_info, CCCS); raise_closure->payload[0] = exception; }