Use a slightly smaller hack.
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DIE.cpp
index e973541ee5be37ff17d71f9959883dd97c9cf360..913916aabb10d7c1136bd11c62389b4341e0332b 100644 (file)
@@ -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