Make inline ASM the INTEL one if it's in that emission mode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33247 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2007-01-16 04:13:03 +00:00
parent eb9a42c90b
commit 11502860c1

View File

@ -138,11 +138,11 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) {
DwarfMacInfoSection = "\t.section\t.debug_macinfo,\"dr\""; DwarfMacInfoSection = "\t.section\t.debug_macinfo,\"dr\"";
break; break;
break;
case X86Subtarget::isWindows: case X86Subtarget::isWindows:
GlobalPrefix = "_"; GlobalPrefix = "_";
HasDotTypeDotSizeDirective = false; HasDotTypeDotSizeDirective = false;
break; break;
default: break; default: break;
} }
@ -169,6 +169,8 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) {
TextSectionStartSuffix = "\tsegment 'CODE'"; TextSectionStartSuffix = "\tsegment 'CODE'";
DataSectionStartSuffix = "\tsegment 'DATA'"; DataSectionStartSuffix = "\tsegment 'DATA'";
SectionEndDirectiveSuffix = "\tends\n"; SectionEndDirectiveSuffix = "\tends\n";
AssemblerDialect = X86_INTEL;
} }
} }