diff options
author | Tanya Lattner <tonic@nondot.org> | 2010-03-30 18:36:57 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2010-03-30 18:36:57 +0000 |
commit | 3a2ed724e3bc72e94feb372d0d4e78f51de3ba75 (patch) | |
tree | f233d3bff64373422670ba572701bab1fc96aeda | |
parent | 8ab7ded56f9066fa98b0e39b443b8d787bc438d3 (diff) | |
download | llvm-3a2ed724e3bc72e94feb372d0d4e78f51de3ba75.zip llvm-3a2ed724e3bc72e94feb372d0d4e78f51de3ba75.tar.gz llvm-3a2ed724e3bc72e94feb372d0d4e78f51de3ba75.tar.bz2 |
Merge 99762 from mainline.
llvm-svn: 99908
-rw-r--r-- | llvm/include/llvm/System/Memory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/System/Memory.h b/llvm/include/llvm/System/Memory.h index 69251dd..01bcab1 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; } |