summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-09-14 15:42:11 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-09-14 15:42:11 +0000
commit853d250b0a5e6380869b17bde07dda78360f4c2a (patch)
treea4cafb72c4d9a3d1166841eca2bafb3449b1821e /llvm/lib
parentf27c4cde06292c23834f55885b07e823c88b4413 (diff)
downloadbcm5719-llvm-853d250b0a5e6380869b17bde07dda78360f4c2a.tar.gz
bcm5719-llvm-853d250b0a5e6380869b17bde07dda78360f4c2a.zip
Fix a compilation error.
llvm-svn: 16335
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/System/SunOS/Memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/System/SunOS/Memory.cpp b/llvm/lib/System/SunOS/Memory.cpp
index 8c6a44d2773..4f88b328ba8 100644
--- a/llvm/lib/System/SunOS/Memory.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud