Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
diff vmalloc.c @ 63:a6c442d52590
removed all inline, to see if -O3 works -- now -O0 broken too! will go back
| author | Me |
|---|---|
| date | Fri, 12 Nov 2010 08:42:25 -0800 |
| parents | 7b799a46cc87 |
| children |
line diff
1.1 --- a/vmalloc.c Fri Nov 12 07:36:01 2010 -0800 1.2 +++ b/vmalloc.c Fri Nov 12 08:42:25 2010 -0800 1.3 @@ -24,7 +24,7 @@ 1.4 * 1.5 *The end of the list is identified by next chunk being NULL, as usual. 1.6 */ 1.7 -void inline 1.8 +void 1.9 add_chunk_to_free_list( MallocProlog *chunk, MallocProlog *listHead ) 1.10 { 1.11 chunk->nextChunkInFreeList = listHead->nextChunkInFreeList; 1.12 @@ -50,7 +50,7 @@ 1.13 int32 amountExtra, foundElemIsTopOfHeap, sizeConsumed,sizeOfFound; 1.14 1.15 //step up the size to be aligned at 16-byte boundary, prob better ways 1.16 - sizeRequested = ((sizeRequested + 16) >> 4) << 4; 1.17 + sizeRequested = ((sizeRequested + 15) >> 4) << 4; 1.18 currElem = (_VMSMasterEnv->freeListHead)->nextChunkInFreeList; 1.19 1.20 while( currElem != NULL )
