X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2FStorage.h;h=0a7aae6750398383ad9784f15270df31aa93abf0;hb=2b398b2215fd5238e222bcb3013aa41d7b631cfa;hp=2b8f1071962e219d01b59cfbc5255a3f11fb9c72;hpb=fef454a0f84acdf9e4efbce6425a04fbbb577dbe;p=ghc-hetmet.git diff --git a/includes/Storage.h b/includes/Storage.h index 2b8f107..0a7aae6 100644 --- a/includes/Storage.h +++ b/includes/Storage.h @@ -204,7 +204,7 @@ doYouWantToGC( void ) } /* memory allocator for executable memory */ -extern void *allocateExec (nat bytes); +extern void* allocateExec(unsigned int len, void **exec_addr); extern void freeExec (void *p); /* for splitting blocks groups in two */ @@ -220,7 +220,7 @@ extern bdescr * splitLargeBlock (bdescr *bd, nat blocks); -------------------------------------------------------------------------- */ -extern void GarbageCollect(rtsBool force_major_gc); +extern void GarbageCollect(rtsBool force_major_gc, nat gc_type, Capability *cap); /* ----------------------------------------------------------------------------- Generational garbage collection support