projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63a9660
)
Fix mistake in r190442.
author
Eli Friedman
<eli.friedman@gmail.com>
Tue, 10 Sep 2013 23:09:24 +0000
(23:09 +0000)
committer
Eli Friedman
<eli.friedman@gmail.com>
Tue, 10 Sep 2013 23:09:24 +0000
(23:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190446
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/CodeGenPrepare.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/CodeGenPrepare.cpp
b/lib/Transforms/Scalar/CodeGenPrepare.cpp
index bd02a45f2624f72c4e861a3a97387dcf5fadf38a..9c5633b4e7f924fc8d627b91f80183bfc79d5219 100644
(file)
--- a/
lib/Transforms/Scalar/CodeGenPrepare.cpp
+++ b/
lib/Transforms/Scalar/CodeGenPrepare.cpp
@@
-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 << "[";