added a few useless lines of code for documentation purpose

This commit is contained in:
hyunghwan.chung 2018-11-28 06:08:42 +00:00
parent 4908576c02
commit 460a10a4c1

View File

@ -619,6 +619,13 @@ static void* alloc_heap (moo_t* moo, moo_oow_t size)
if (k32_GetLargePageMinimum) align_size = k32_GetLargePageMinimum(); if (k32_GetLargePageMinimum) align_size = k32_GetLargePageMinimum();
FreeLibrary (k32); FreeLibrary (k32);
} }
/* the standard page size shouldn't help. so let me comment out this part.
else
{
SYSTEM_INFO si;
GetSystemInfo (&si);
align_size = si.dwPageSize;
}*/
actual_size = MOO_SIZEOF(moo_oow_t) + size; actual_size = MOO_SIZEOF(moo_oow_t) + size;
actual_size = MOO_ALIGN(actual_size, align_size); actual_size = MOO_ALIGN(actual_size, align_size);