summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2010-03-30 18:36:57 +0000
committerTanya Lattner <tonic@nondot.org>2010-03-30 18:36:57 +0000
commit3a2ed724e3bc72e94feb372d0d4e78f51de3ba75 (patch)
treef233d3bff64373422670ba572701bab1fc96aeda
parent8ab7ded56f9066fa98b0e39b443b8d787bc438d3 (diff)
downloadllvm-3a2ed724e3bc72e94feb372d0d4e78f51de3ba75.tar.gz
Merge 99762 from mainline.
llvm-svn: 99908
-rw-r--r--llvm/include/llvm/System/Memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/System/Memory.h b/llvm/include/llvm/System/Memory.h
index 69251dd2bfbd..01bcab1f0070 100644
--- a/llvm/include/llvm/System/Memory.h
+++ b/llvm/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; }