From: Reid Spencer Date: Tue, 14 Sep 2004 15:42:11 +0000 (+0000) Subject: Fix a compilation error. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8c0c33984b919f572be84869bb508a6491417057;p=oota-llvm.git Fix a compilation error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16335 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/System/SunOS/Memory.cpp b/lib/System/SunOS/Memory.cpp index 8c6a44d2773..4f88b328ba8 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; }