summaryrefslogtreecommitdiff
path: root/include/llvm/Pass.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Pass.h')
-rw-r--r--include/llvm/Pass.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h
index ff710d3766..0855986fbb 100644
--- a/include/llvm/Pass.h
+++ b/include/llvm/Pass.h
@@ -96,8 +96,7 @@ public:
/// provide the Module* in case the analysis doesn't need it it can just be
/// ignored.
///
- virtual void print(std::ostream &O, const Module *M) const { print(O); }
- virtual void print(std::ostream &O) const;
+ virtual void print(std::ostream &O, const Module *M) const;
void dump() const; // dump - call print(std::cerr, 0);