OSDN Git Service

Fix a compilation error.
authorReid Spencer <rspencer@reidspencer.com>
Tue, 14 Sep 2004 15:42:11 +0000 (15:42 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 14 Sep 2004 15:42:11 +0000 (15:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16335 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/SunOS/Memory.cpp

index 8c6a44d..4f88b32 100644 (file)
@@ -39,7 +39,7 @@ MemoryBlock Memory::AllocateRWX(unsigned NumBytes) {
   }
   MemoryBlock result;
   result.Address = pa;
-  result.AllocSize = NumPages*pageSize;
+  result.Size = NumPages*pageSize;
   return result;
 }