diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-12-02 09:15:17 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-12-02 09:15:17 +0000 |
commit | ccdaa27c72a7d130e12e558c3488448578cf5445 (patch) | |
tree | f4e28a6605103300c072c1c9236793ca97996298 /libraries/integer-gmp/cbits/alloc.c | |
parent | 471b14ae481c71bc9a3977ad40453e7f5c1e02d9 (diff) | |
download | haskell-ccdaa27c72a7d130e12e558c3488448578cf5445.tar.gz |
allocateLocal was renamed to allocate
Diffstat (limited to 'libraries/integer-gmp/cbits/alloc.c')
-rw-r--r-- | libraries/integer-gmp/cbits/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/integer-gmp/cbits/alloc.c b/libraries/integer-gmp/cbits/alloc.c index d1d922979e..2b5959d45a 100644 --- a/libraries/integer-gmp/cbits/alloc.c +++ b/libraries/integer-gmp/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 */ |