diff options
| author | Jeff Cohen <jeffc@jolt-lang.org> | 2005-01-08 20:15:57 +0000 |
|---|---|---|
| committer | Jeff Cohen <jeffc@jolt-lang.org> | 2005-01-08 20:15:57 +0000 |
| commit | 1a26d15c8068f32c76035a431935804aad69d5f7 (patch) | |
| tree | d4cea6f1c0310a42a9408bd4f84f819befcb3607 /llvm/lib/System/Unix | |
| parent | 4588542d3907d609168f551b2fa1809616f65fe8 (diff) | |
| download | bcm5719-llvm-1a26d15c8068f32c76035a431935804aad69d5f7.tar.gz bcm5719-llvm-1a26d15c8068f32c76035a431935804aad69d5f7.zip | |
Use size_t instead of long to represent memory usage. long is 32 bits
on 64-bit Windows.
llvm-svn: 19393
Diffstat (limited to 'llvm/lib/System/Unix')
| -rw-r--r-- | llvm/lib/System/Unix/Process.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/System/Unix/Process.cpp b/llvm/lib/System/Unix/Process.cpp index cccd3ffcb67..1c1373ebb5c 100644 --- a/llvm/lib/System/Unix/Process.cpp +++ b/llvm/lib/System/Unix/Process.cpp @@ -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) |

