summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/SunOS/Memory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/System/SunOS/Memory.cpp')
-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