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/Function.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/Function.h')
-rw-r--r-- | include/llvm/Function.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h index 7d4f43f..3c44b36 100644 --- a/include/llvm/Function.h +++ b/include/llvm/Function.h @@ -181,7 +181,8 @@ public: const Argument &aback() const { return ArgumentList.back(); } Argument &aback() { return ArgumentList.back(); } - virtual void print(std::ostream &OS) const; + virtual void print(std::ostream &OS) const { print(OS, 0); } + void print(std::ostream &OS, AssemblyAnnotationWriter *AAW) const; /// viewCFG - This function is meant for use from the debugger. You can just /// say 'call F->viewCFG()' and a ghostview window should pop up from the |