[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Chris Lattner
sabre at nondot.org
Wed Oct 4 17:25:00 PDT 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCAsmPrinter.cpp updated: 1.196 -> 1.197
---
Log message:
Always emit the jump table after the function so it's part of the same 'atom'
as the function body.
---
Diffs of the changes: (+3 -3)
PPCAsmPrinter.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.196 llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.197
--- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.196 Wed Sep 20 12:12:19 2006
+++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp Wed Oct 4 19:24:46 2006
@@ -420,9 +420,6 @@
// 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 @@
// 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;
More information about the llvm-commits
mailing list