[llvm-commits] [poolalloc] r49182 - /poolalloc/trunk/include/poolalloc/PoolAllocate.h
John Criswell
criswell at uiuc.edu
Thu Apr 3 11:11:24 PDT 2008
Author: criswell
Date: Thu Apr 3 13:11:23 2008
New Revision: 49182
URL: http://llvm.org/viewvc/llvm-project?rev=49182&view=rev
Log:
Added methods to abstract away the DSGraph interface.
Modified:
poolalloc/trunk/include/poolalloc/PoolAllocate.h
Modified: poolalloc/trunk/include/poolalloc/PoolAllocate.h
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/include/poolalloc/PoolAllocate.h?rev=49182&r1=49181&r2=49182&view=diff
==============================================================================
--- poolalloc/trunk/include/poolalloc/PoolAllocate.h (original)
+++ poolalloc/trunk/include/poolalloc/PoolAllocate.h Thu Apr 3 13:11:23 2008
@@ -243,6 +243,17 @@
else
return I->second;
}
+
+ virtual CompleteBUDataStructures::callee_iterator
+ callee_begin (CallInst * CI) {
+ return ECGraphs->callee_begin(CI);
+ }
+
+ virtual CompleteBUDataStructures::callee_iterator
+ callee_end (CallInst * CI) {
+ return ECGraphs->callee_end(CI);
+ }
+
protected:
/// AddPoolPrototypes - Add prototypes for the pool functions to the
More information about the llvm-commits
mailing list