emit jump table before debug info
authorChris Lattner <sabre@nondot.org>
Thu, 5 Oct 2006 00:26:05 +0000 (00:26 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 5 Oct 2006 00:26:05 +0000 (00:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30731 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCAsmPrinter.cpp

index 9eb406e5793abed745345d2de107d0d2f04fbb80..4868b68435d74fb00d32834c50a3d8e6c93c39cd 100644 (file)
@@ -461,12 +461,12 @@ bool DarwinAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
     }
   }
 
+  // Print out jump tables referenced by the function.
+  EmitJumpTableInfo(MF.getJumpTableInfo());
+  
   // Emit post-function debug information.
   DW.EndFunction();
   
-  // Print out jump tables referenced by the function.
-  EmitJumpTableInfo(MF.getJumpTableInfo());
-
   // We didn't modify anything.
   return false;
 }