aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-10-05 00:24:46 +0000
committerChris Lattner <sabre@nondot.org>2006-10-05 00:24:46 +0000
commit37dfa02788711b72618497ce5acf39596e3a0211 (patch)
tree4283dd9e178cef74ac6a964acacc6fa6434a767d /lib/Target/PowerPC/PPCAsmPrinter.cpp
parentdf20b96ffdbadf4e3e4addc12debac0cf855f540 (diff)
Always emit the jump table after the function so it's part of the same 'atom'
as the function body. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30730 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCAsmPrinter.cpp')
-rw-r--r--lib/Target/PowerPC/PPCAsmPrinter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp
index 35244632eb..9eb406e579 100644
--- a/lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/lib/Target/PowerPC/PPCAsmPrinter.cpp
@@ -420,9 +420,6 @@ bool DarwinAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
// Print out constants referenced by the function
EmitConstantPool(MF.getConstantPool());
- // Print out jump tables referenced by the function
- EmitJumpTableInfo(MF.getJumpTableInfo());
-
// Print out labels for the function.
const Function *F = MF.getFunction();
switch (F->getLinkage()) {
@@ -466,6 +463,9 @@ bool DarwinAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
// 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;