[llvm-commits] CVS: llvm-poolalloc/lib/PoolAllocate/TransformFunctionBody.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Apr 2 11:55:45 PST 2005
Changes in directory llvm-poolalloc/lib/PoolAllocate:
TransformFunctionBody.cpp updated: 1.40 -> 1.41
---
Log message:
adjust to api changes.
---
Diffs of the changes: (+3 -4)
TransformFunctionBody.cpp | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
Index: llvm-poolalloc/lib/PoolAllocate/TransformFunctionBody.cpp
diff -u llvm-poolalloc/lib/PoolAllocate/TransformFunctionBody.cpp:1.40 llvm-poolalloc/lib/PoolAllocate/TransformFunctionBody.cpp:1.41
--- llvm-poolalloc/lib/PoolAllocate/TransformFunctionBody.cpp:1.40 Mon Mar 14 22:46:30 2005
+++ llvm-poolalloc/lib/PoolAllocate/TransformFunctionBody.cpp Sat Apr 2 13:55:29 2005
@@ -453,10 +453,9 @@
#ifndef NDEBUG
// Verify that all potential callees at call site have the same DS graph.
- const EquivClassGraphs::ActualCalleesTy& ActualCallees =
- ECGraphs.getActualCallees();
- EquivClassGraphs::ActualCalleesTy::const_iterator I, E;
- for (tie(I, E) = ActualCallees.equal_range(OrigInst); I != E; ++I)
+ EquivClassGraphs::ActualCalleesTy::const_iterator I =
+ ECGraphs.callee_begin(OrigInst), E = ECGraphs.callee_end(OrigInst);
+ for (; I != E; ++I)
if (!I->second->isExternal())
assert(CalleeGraph == &ECGraphs.getDSGraph(*I->second) &&
"Callees at call site do not have a common graph!");
More information about the llvm-commits
mailing list