diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-09-14 15:42:11 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-09-14 15:42:11 +0000 |
commit | 8c0c33984b919f572be84869bb508a6491417057 (patch) | |
tree | 45fda331e287d40d5c2275758e1687023be3cdde /lib/System/SunOS/Memory.cpp | |
parent | 1c7b907325e9cf3a0713ceab5029fef04d9e498c (diff) |
Fix a compilation error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16335 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/SunOS/Memory.cpp')
-rw-r--r-- | lib/System/SunOS/Memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/SunOS/Memory.cpp b/lib/System/SunOS/Memory.cpp index 8c6a44d277..4f88b328ba 100644 --- a/lib/System/SunOS/Memory.cpp +++ b/lib/System/SunOS/Memory.cpp @@ -39,7 +39,7 @@ MemoryBlock Memory::AllocateRWX(unsigned NumBytes) { } MemoryBlock result; result.Address = pa; - result.AllocSize = NumPages*pageSize; + result.Size = NumPages*pageSize; return result; } |