reapply my strstr optimization. I have reproduced the x86-64 bootstrap
[oota-llvm.git] / lib / MC / MCAsmInfoDarwin.cpp
index 8e8c6f838e34beaa406b1ecc56093902473081f8..d99120d4d7888f7ffab4f3503f2bf80c2fb4c3e1 100644 (file)
 #include "llvm/MC/MCAsmInfoDarwin.h"
 using namespace llvm;
 
-DarwinMCAsmInfo::DarwinMCAsmInfo() {
+MCAsmInfoDarwin::MCAsmInfoDarwin() {
   // Common settings for all Darwin targets.
   // Syntax:
   GlobalPrefix = "_";
   PrivateGlobalPrefix = "L";
-  LinkerPrivateGlobalPrefix = "l";  // Marker for some ObjC metadata
+  LinkerPrivateGlobalPrefix = "l";
   NeedsSet = true;
-  NeedsIndirectEncoding = true;
   AllowQuotesInName = true;
   HasSingleParameterDotFile = false;
 
@@ -30,11 +29,6 @@ DarwinMCAsmInfo::DarwinMCAsmInfo() {
   InlineAsmStart = " InlineAsm Start";
   InlineAsmEnd = " InlineAsm End";
 
-  // In non-PIC modes, emit a special label before jump tables so that the
-  // linker can perform more accurate dead code stripping.  We do not check the
-  // relocation model here since it can be overridden later.
-  JumpTableSpecialLabelPrefix = "l";
-    
   // Directives:
   WeakDefDirective = "\t.weak_definition ";
   WeakRefDirective = "\t.weak_reference ";
@@ -54,6 +48,5 @@ DarwinMCAsmInfo::DarwinMCAsmInfo() {
   Is_EHSymbolPrivate = false;
   GlobalEHDirective = "\t.globl\t";
   SupportsWeakOmittedEHFrame = false;
-
 }