[llvm-commits] CVS: llvm/lib/Target/IA64/IA64ISelPattern.cpp IA64AsmPrinter.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Sat Mar 19 01:22:28 PST 2005
Changes in directory llvm/lib/Target/IA64:
IA64ISelPattern.cpp updated: 1.2 -> 1.3
IA64AsmPrinter.cpp updated: 1.1 -> 1.2
---
Log message:
Stop using deprecated interface.
---
Diffs of the changes: (+3 -2)
IA64AsmPrinter.cpp | 3 ++-
IA64ISelPattern.cpp | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/IA64/IA64ISelPattern.cpp
diff -u llvm/lib/Target/IA64/IA64ISelPattern.cpp:1.2 llvm/lib/Target/IA64/IA64ISelPattern.cpp:1.3
--- llvm/lib/Target/IA64/IA64ISelPattern.cpp:1.2 Thu Mar 17 13:00:40 2005
+++ llvm/lib/Target/IA64/IA64ISelPattern.cpp Sat Mar 19 03:22:17 2005
@@ -162,7 +162,7 @@
unsigned used_FPArgs=0; // how many FP args have been used so far?
int count = 0;
- for (Function::aiterator I = F.abegin(), E = F.aend(); I != E; ++I)
+ for (Function::arg_iterator I = F.arg_begin(), E = F.arg_end(); I != E; ++I)
{
SDOperand newroot, argt;
if(count < 8) { // need to fix this logic? maybe.
Index: llvm/lib/Target/IA64/IA64AsmPrinter.cpp
diff -u llvm/lib/Target/IA64/IA64AsmPrinter.cpp:1.1 llvm/lib/Target/IA64/IA64AsmPrinter.cpp:1.2
--- llvm/lib/Target/IA64/IA64AsmPrinter.cpp:1.1 Thu Mar 17 12:17:03 2005
+++ llvm/lib/Target/IA64/IA64AsmPrinter.cpp Sat Mar 19 03:22:17 2005
@@ -97,7 +97,8 @@
std::string CurSection;
// Print out module-level global variables here.
- for (Module::const_giterator I = M.gbegin(), E = M.gend(); I != E; ++I)
+ for (Module::const_global_iterator I = M.global_begin(), E = M.global_end();
+ I != E; ++I)
if (I->hasInitializer()) { // External global require no code
O << "\n\n";
std::string name = Mang->getValueName(I);
More information about the llvm-commits
mailing list