diff options
author | Chris Lattner <sabre@nondot.org> | 2006-10-05 00:24:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-10-05 00:24:46 +0000 |
commit | aad26a19f0f9acdf34035b853ef2cc65182e19fb (patch) | |
tree | 38c4c97dda86dafa573a3cc9e1f8896da948c920 /llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp | |
parent | 19721e8749bb934fbc56b10a3d42d98ca6b338cf (diff) | |
download | bcm5719-llvm-aad26a19f0f9acdf34035b853ef2cc65182e19fb.tar.gz bcm5719-llvm-aad26a19f0f9acdf34035b853ef2cc65182e19fb.zip |
Always emit the jump table after the function so it's part of the same 'atom'
as the function body.
llvm-svn: 30730
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp index 35244632eb5..9eb406e5793 100644 --- a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp +++ b/llvm/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; |