aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Module.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r--include/llvm/Module.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h
index bb9159678d..19626aea03 100644
--- a/include/llvm/Module.h
+++ b/include/llvm/Module.h
@@ -187,7 +187,9 @@ public:
inline const Function &back() const { return FunctionList.back(); }
inline Function &back() { return FunctionList.back(); }
- void print(std::ostream &OS) const;
+ void print(std::ostream &OS) const { print(OS, 0); }
+ void print(std::ostream &OS, AssemblyAnnotationWriter *AAW) const;
+
void dump() const;
/// dropAllReferences() - This function causes all the subinstructions to "let