Make inline ASM the INTEL one if it's in that emission mode.
authorBill Wendling <isanbard@gmail.com>
Tue, 16 Jan 2007 04:13:03 +0000 (04:13 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 16 Jan 2007 04:13:03 +0000 (04:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33247 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86TargetAsmInfo.cpp

index 021976eea762c9374190b507ab1fbf8781d741de..97e59a51c260df3bb21c0e62d991815a8c2e1dcc 100644 (file)
@@ -137,12 +137,12 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) {
     DwarfRangesSection =  "\t.section\t.debug_ranges,\"dr\"";
     DwarfMacInfoSection = "\t.section\t.debug_macinfo,\"dr\"";
     break;
-    
-    break;
+
   case X86Subtarget::isWindows:
     GlobalPrefix = "_";
     HasDotTypeDotSizeDirective = false;
     break;
+
   default: break;
   }
   
@@ -169,6 +169,8 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) {
     TextSectionStartSuffix = "\tsegment 'CODE'";
     DataSectionStartSuffix = "\tsegment 'DATA'";
     SectionEndDirectiveSuffix = "\tends\n";
+
+    AssemblerDialect = X86_INTEL;
   }
 }