Add missed cleanup from r198456

All other uses of this macro in LLVM/clang have been moved to the function
definition so follow suite (and the usage advice) here too for consistency.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198516 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alp Toker 2014-01-04 22:47:48 +00:00
parent 29d56f68c6
commit 395f7c2505

View File

@ -244,8 +244,8 @@ public:
void printUse(raw_ostream &OS, const_iterator I,
StringRef Indent = " ") const;
void print(raw_ostream &OS) const;
LLVM_DUMP_METHOD void dump(const_iterator I) const;
LLVM_DUMP_METHOD void dump() const;
void dump(const_iterator I) const;
void dump() const;
#endif
private:
@ -712,8 +712,10 @@ void AllocaSlices::print(raw_ostream &OS) const {
print(OS, I);
}
void AllocaSlices::dump(const_iterator I) const { print(dbgs(), I); }
void AllocaSlices::dump() const { print(dbgs()); }
LLVM_DUMP_METHOD void AllocaSlices::dump(const_iterator I) const {
print(dbgs(), I);
}
LLVM_DUMP_METHOD void AllocaSlices::dump() const { print(dbgs()); }
#endif // !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)