summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/Transforms/PoolAllocate.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/Transforms/PoolAllocate.h')
-rw-r--r--llvm/include/llvm/Transforms/PoolAllocate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Transforms/PoolAllocate.h b/llvm/include/llvm/Transforms/PoolAllocate.h
index bf6e1707802..c3e1db2d65a 100644
--- a/llvm/include/llvm/Transforms/PoolAllocate.h
+++ b/llvm/include/llvm/Transforms/PoolAllocate.h
@@ -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);
OpenPOWER on IntegriCloud