allocateLocal was renamed to allocate
authorSimon Marlow <marlowsd@gmail.com>
Wed, 2 Dec 2009 09:15:17 +0000 (09:15 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 2 Dec 2009 09:15:17 +0000 (09:15 +0000)
cbits/alloc.c

index d1d9229..2b5959d 100644 (file)
@@ -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 */