summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-01-16 07:36:00 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-01-16 07:36:00 +0000
commit74c3e6319328afe8ecb2b96e6c3961fa26520cf5 (patch)
tree895901a35fc35c423da78b5464ace3d19a0bfa13 /llvm/lib/CodeGen
parent73a3b2209e9bc0f310bfbc64035bdca74e127653 (diff)
downloadbcm5719-llvm-74c3e6319328afe8ecb2b96e6c3961fa26520cf5.tar.gz
bcm5719-llvm-74c3e6319328afe8ecb2b96e6c3961fa26520cf5.zip
Use a slightly smaller hack.
llvm-svn: 199363
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DIE.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp b/llvm/lib/CodeGen/AsmPrinter/DIE.cpp
index e973541ee5b..913916aabb1 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DIE.cpp
@@ -217,8 +217,7 @@ void DIEInteger::EmitValue(AsmPrinter *Asm, dwarf::Form Form) const {
case dwarf::DW_FORM_flag_present:
// Emit something to keep the lines and comments in sync.
// FIXME: Is there a better way to do this?
- if (Asm->OutStreamer.hasRawTextSupport())
- Asm->OutStreamer.EmitRawText("");
+ Asm->OutStreamer.AddBlankLine();
return;
case dwarf::DW_FORM_flag: // Fall thru
case dwarf::DW_FORM_ref1: // Fall thru
OpenPOWER on IntegriCloud