diff options
author | Chris Lattner <sabre@nondot.org> | 2003-10-30 23:41:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-10-30 23:41:19 +0000 |
commit | 072ddb1dac5afbf5c789a4ea7c7a2a4205508011 (patch) | |
tree | d3499cb5c727368be605acea9bb2ac2a78b6a4a6 /include/llvm/Module.h | |
parent | 95e5a2cc3fc55b262d2baa1cc417115dfa4a18ea (diff) | |
download | external_llvm-072ddb1dac5afbf5c789a4ea7c7a2a4205508011.zip external_llvm-072ddb1dac5afbf5c789a4ea7c7a2a4205508011.tar.gz external_llvm-072ddb1dac5afbf5c789a4ea7c7a2a4205508011.tar.bz2 |
Expose new print methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9620 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r-- | include/llvm/Module.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h index bb91596..19626ae 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 |