Fix mistake in r190442.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190446 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eli Friedman 2013-09-10 23:09:24 +00:00
parent 63a9660a41
commit 5912a12519

View File

@ -840,6 +840,13 @@ struct ExtAddrMode : public TargetLowering::AddrMode {
}
};
#ifndef NDEBUG
static inline raw_ostream &operator<<(raw_ostream &OS, const ExtAddrMode &AM) {
AM.print(OS);
return OS;
}
#endif
void ExtAddrMode::print(raw_ostream &OS) const {
bool NeedPlus = false;
OS << "[";