[llvm-branch-commits] [llvm-branch] r99908 - /llvm/branches/release_27/include/llvm/System/Memory.h

Tanya Lattner tonic at nondot.org
Tue Mar 30 11:36:57 PDT 2010


Author: tbrethou
Date: Tue Mar 30 13:36:57 2010
New Revision: 99908

URL: http://llvm.org/viewvc/llvm-project?rev=99908&view=rev
Log:
Merge 99762 from mainline.

Modified:
    llvm/branches/release_27/include/llvm/System/Memory.h

Modified: llvm/branches/release_27/include/llvm/System/Memory.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_27/include/llvm/System/Memory.h?rev=99908&r1=99907&r2=99908&view=diff
==============================================================================
--- llvm/branches/release_27/include/llvm/System/Memory.h (original)
+++ llvm/branches/release_27/include/llvm/System/Memory.h Tue Mar 30 13:36:57 2010
@@ -27,7 +27,7 @@
   /// @brief Memory block abstraction.
   class MemoryBlock {
   public:
-    MemoryBlock() { }
+    MemoryBlock() : Address(0), Size(0) { }
     MemoryBlock(void *addr, size_t size) : Address(addr), Size(size) { }
     void *base() const { return Address; }
     size_t size() const { return Size; }





More information about the llvm-branch-commits mailing list