Skip to content
Snippets Groups Projects
Commit 39df28d6 authored by Simon Marlow's avatar Simon Marlow
Browse files

allocateLocal was renamed to allocate

parent c7ddc070
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ stgAllocForGMP (size_t size_in_bytes)
total_size_in_words = sizeofW(StgArrWords) + data_size_in_words;
/* allocate and fill it in. */
arr = (StgArrWords *)allocateLocal(rts_unsafeGetMyCapability(), total_size_in_words);
arr = (StgArrWords *)allocate(rts_unsafeGetMyCapability(), total_size_in_words);
SET_ARR_HDR(arr, &stg_ARR_WORDS_info, CCCS, data_size_in_words);
/* and return a ptr to the goods inside the array */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment