summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2015-09-02 22:28:47 +0000
committerJustin Bogner <mail@justinbogner.com>2015-09-02 22:28:47 +0000
commit7fe2469150ea99b806d136b45b7f536c23bca681 (patch)
tree63c6f5aa27e1e520e0a3435a099716c6466921d6 /llvm/lib
parentbc72ad7b27ca7bbe6d5ecf3253258736a4cf19ae (diff)
downloadbcm5719-llvm-7fe2469150ea99b806d136b45b7f536c23bca681.tar.gz
bcm5719-llvm-7fe2469150ea99b806d136b45b7f536c23bca681.zip
IR: Remove a redundant function. NFC
Function::print isn't interestingly different from Value::print. Just let the only caller (in PrintCallGraphPass) call the Value version. llvm-svn: 246720
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/IR/AsmWriter.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/IR/AsmWriter.cpp b/llvm/lib/IR/AsmWriter.cpp
index 1219aac8c6a..bc9b00e7de1 100644
--- a/llvm/lib/IR/AsmWriter.cpp
+++ b/llvm/lib/IR/AsmWriter.cpp
@@ -3199,13 +3199,6 @@ void AssemblyWriter::printUseLists(const Function *F) {
// External Interface declarations
//===----------------------------------------------------------------------===//
-void Function::print(raw_ostream &ROS, AssemblyAnnotationWriter *AAW) const {
- SlotTracker SlotTable(this->getParent());
- formatted_raw_ostream OS(ROS);
- AssemblyWriter W(OS, SlotTable, this->getParent(), AAW);
- W.printFunction(this);
-}
-
void Module::print(raw_ostream &ROS, AssemblyAnnotationWriter *AAW,
bool ShouldPreserveUseListOrder) const {
SlotTracker SlotTable(this);
OpenPOWER on IntegriCloud