Changes in directory llvm/lib/CodeGen:

AsmPrinter.cpp updated: 1.103 -> 1.104
---
Log message:

move getSectionForFunction to AsmPrinter


---
Diffs of the changes:  (+4 -0)

 AsmPrinter.cpp |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/lib/CodeGen/AsmPrinter.cpp
diff -u llvm/lib/CodeGen/AsmPrinter.cpp:1.103 
llvm/lib/CodeGen/AsmPrinter.cpp:1.104
--- llvm/lib/CodeGen/AsmPrinter.cpp:1.103       Tue Oct  3 18:27:09 2006
+++ llvm/lib/CodeGen/AsmPrinter.cpp     Wed Oct  4 21:42:47 2006
@@ -32,6 +32,10 @@
 : FunctionNumber(0), O(o), TM(tm), TAI(T)
 {}
 
+std::string AsmPrinter::getSectionForFunction(const Function &F) const {
+  return TAI->getTextSection();
+}
+
 
 /// SwitchToTextSection - Switch to the specified text section of the 
executable
 /// if we are not already in it!



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to