Do not replace ostream << Module*, only ostream << Module&.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20157 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/llvm/Module.h b/include/llvm/Module.h
index 61ba60f..8b4a50a 100644
--- a/include/llvm/Module.h
+++ b/include/llvm/Module.h
@@ -263,11 +263,6 @@
void dropAllReferences();
};
-inline std::ostream &operator<<(std::ostream &O, const Module *M) {
- M->print(O);
- return O;
-}
-
inline std::ostream &operator<<(std::ostream &O, const Module &M) {
M.print(O);
return O;