Do not replace ostream << Module*, only ostream << Module&.
llvm-svn: 20157
This commit is contained in:
parent
6983f5d2ed
commit
5881b91bd7
|
@ -263,11 +263,6 @@ public:
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue