summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-02-05 18:00:21 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-02-05 18:00:21 +0000
commitb4eec1daa11ca4a39fe1a981d081f20b23725d58 (patch)
tree9c606ee65f06402204a268f06802644b1d65cbd3 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
parent29d5999eb7e7f2d376283b829d0e7f1b8837f7ba (diff)
downloadbcm5719-llvm-b4eec1daa11ca4a39fe1a981d081f20b23725d58.tar.gz
bcm5719-llvm-b4eec1daa11ca4a39fe1a981d081f20b23725d58.zip
Remove support for not using .loc directives.
Clang itself was not using this. The only way to access it was via llc. llvm-svn: 200862
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 68d79fec733..d84826f5fcc 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -765,9 +765,6 @@ void AsmPrinter::EmitFunctionBody() {
if (isVerbose()) emitKill(II, *this);
break;
default:
- if (!TM.hasMCUseLoc())
- MCLineEntry::Make(&OutStreamer, getCurrentSection());
-
EmitInstruction(II);
break;
}
OpenPOWER on IntegriCloud