Made changes suggested by Chris

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6606 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sumant Kowshik
2003-06-04 08:03:57 +00:00
parent a3e5764984
commit 9271ade15b
2 changed files with 57 additions and 53 deletions

View File

@@ -90,14 +90,14 @@ class PoolAllocate : public Pass {
EquivalenceClasses<Function *> FuncECs;
// Map from an Indirect CallInst to the set of Functions that it can point to
map<CallInst *, vector<Function *> > CallInstTargets;
std::multimap<CallInst *, Function *> CallInstTargets;
// This maps an equivalence class to the last pool argument number for that
// class. This is used because the pool arguments for all functions within
// an equivalence class is passed to all the functions in that class.
// If an equivalence class does not require pool arguments, it is not
// on this map.
map<Function *, int> EqClass2LastPoolArg;
std::map<Function *, int> EqClass2LastPoolArg;
public:
bool run(Module &M);