[llvm-commits] [poolalloc] r131944 - /poolalloc/trunk/include/poolalloc/PoolAllocate.h
Will Dietz
wdietz2 at illinois.edu
Mon May 23 17:58:08 PDT 2011
Author: wdietz2
Date: Mon May 23 19:58:08 2011
New Revision: 131944
URL: http://llvm.org/viewvc/llvm-project?rev=131944&view=rev
Log:
Update PoolAllocate.h to use the new templated dsa::CallTargetFinder,
instead of forward-declared non-templated llvm::CallTargetFinder.
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=131944&r1=131943&r2=131944&view=diff
==============================================================================
--- poolalloc/trunk/include/poolalloc/PoolAllocate.h (original)
+++ poolalloc/trunk/include/poolalloc/PoolAllocate.h Mon May 23 19:58:08 2011
@@ -32,6 +32,7 @@
#include "dsa/DataStructure.h"
#include "dsa/DSGraph.h"
+#include "dsa/CallTargets.h"
#include "poolalloc/Config/config.h"
#include "poolalloc/Heuristic.h"
@@ -42,7 +43,6 @@
class DSGraph;
class Type;
class AllocaInst;
-class CallTargetFinder;
namespace PA {
@@ -205,7 +205,7 @@
Module *CurModule;
// FIXME: Where is this used? Why isn't DSCallGraph used directly?
- CallTargetFinder* CTF;
+ dsa::CallTargetFinder<EQTDDataStructures>* CTF;
// Map a cloned function to its original function
std::map<const Function*, Function*> CloneToOrigMap;
More information about the llvm-commits
mailing list