mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Use size_t instead of long to represent memory usage. long is 32 bits
on 64-bit Windows. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19393 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -47,7 +47,7 @@ Process::GetPageSize()
|
||||
static char* som = reinterpret_cast<char*>(::sbrk(0));
|
||||
#endif
|
||||
|
||||
uint64_t
|
||||
size_t
|
||||
Process::GetMallocUsage()
|
||||
{
|
||||
#if defined(HAVE_MALLINFO)
|
||||
@ -68,7 +68,7 @@ Process::GetMallocUsage()
|
||||
#endif
|
||||
}
|
||||
|
||||
uint64_t
|
||||
size_t
|
||||
Process::GetTotalMemoryUsage()
|
||||
{
|
||||
#if defined(HAVE_MALLINFO)
|
||||
|
Reference in New Issue
Block a user