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/BasicBlock.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/BasicBlock.h')
-rw-r--r-- | include/llvm/BasicBlock.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h index 506bf3a..1a996bc 100644 --- a/include/llvm/BasicBlock.h +++ b/include/llvm/BasicBlock.h @@ -122,7 +122,8 @@ public: const InstListType &getInstList() const { return InstList; } InstListType &getInstList() { return InstList; } - 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; /// Methods for support type inquiry through isa, cast, and dyn_cast: static inline bool classof(const BasicBlock *BB) { return true; } |