unbreak x86 jump tables with my previous patch.
authorChris Lattner <sabre@nondot.org>
Mon, 18 Jan 2010 00:21:06 +0000 (00:21 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 18 Jan 2010 00:21:06 +0000 (00:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93698 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp

index 977d32164506364610954f1a4ba3476458b7ba81..9409c0db227fcab80d632868d5664c77ea8461ce 100644 (file)
@@ -465,7 +465,7 @@ void X86AsmPrinter::printPICJumpTableSetLabel(unsigned uid,
   O << MAI->getSetDirective() << ' ' << MAI->getPrivateGlobalPrefix()
     << getFunctionNumber() << '_' << uid << "_set_" << MBB->getNumber() << ',';
   
-  O << GetMBBSymbol(MBB->getNumber());
+  O << *GetMBBSymbol(MBB->getNumber());
   
   if (Subtarget->isPICStyleRIPRel())
     O << '-' << MAI->getPrivateGlobalPrefix() << "JTI" << getFunctionNumber()