[llvm] r190446 - Fix mistake in r190442.

Eli Friedman eli.friedman at gmail.com
Tue Sep 10 16:09:24 PDT 2013


Author: efriedma
Date: Tue Sep 10 18:09:24 2013
New Revision: 190446

URL: http://llvm.org/viewvc/llvm-project?rev=190446&view=rev
Log:
Fix mistake in r190442.

Modified:
    llvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp?rev=190446&r1=190445&r2=190446&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp Tue Sep 10 18:09:24 2013
@@ -840,6 +840,13 @@ struct ExtAddrMode : public TargetLoweri
   }
 };
 
+#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 << "[";





More information about the llvm-commits mailing list