remove a dead switch directive, replace it with some
authorChris Lattner <sabre@nondot.org>
Mon, 3 Aug 2009 19:10:44 +0000 (19:10 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 3 Aug 2009 19:10:44 +0000 (19:10 +0000)
code that I will be using shortly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77983 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp

index 9b73e87cc676f90515a220ab5575e5c4dbff069e..577d312ccadb89ab6da14922c13442109e6fb421 100644 (file)
@@ -899,7 +899,8 @@ bool X86ATTAsmPrinter::doFinalization(Module &M) {
   }
 
   if (Subtarget->isTargetDarwin()) {
-    SwitchToDataSection("");
+    //TargetLoweringObjectFileMachO &TLOFMacho = 
+    //  static_cast<TargetLoweringObjectFileMachO &>(getObjFileLowering());
     
     // Add the (possibly multiple) personalities to the set of global value
     // stubs.  Only referenced functions get into the Personalities list.