From 39df28d6e65aac076501aabc99567ce90c5409c7 Mon Sep 17 00:00:00 2001
From: Simon Marlow <marlowsd@gmail.com>
Date: Wed, 2 Dec 2009 09:15:17 +0000
Subject: [PATCH] allocateLocal was renamed to allocate

---
 cbits/alloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cbits/alloc.c b/cbits/alloc.c
index d1d9229..2b5959d 100644
--- a/cbits/alloc.c
+++ b/cbits/alloc.c
@@ -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 */
-- 
GitLab