From 78701d41a016f54e41543273af2e23ea6457d9dc Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Tue, 30 Mar 2010 18:36:57 +0000 Subject: [PATCH] Merge 99762 from mainline. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@99908 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/System/Memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/System/Memory.h b/include/llvm/System/Memory.h index 69251dd2bfb..01bcab1f007 100644 --- a/include/llvm/System/Memory.h +++ b/include/llvm/System/Memory.h @@ -27,7 +27,7 @@ namespace sys { /// @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; }