diff options
Diffstat (limited to 'include/llvm/Type.h')
-rw-r--r-- | include/llvm/Type.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h index 79fe0df..6cb4e942 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -141,10 +141,8 @@ protected: /// mutable std::vector<AbstractTypeUser *> AbstractTypeUsers; public: - void print(OStream &O) const { - if (O.stream()) print(*O.stream()); - } void print(std::ostream &O) const; + void print(std::ostream *O) const { if (O) print(*O); } /// @brief Debugging support: print to stderr void dump() const; |