summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/PartialInlining.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-10-13 01:36:30 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-10-13 01:36:30 +0000
commit229e38f0febf2c095040e3db22f9a3e37cb33bc5 (patch)
tree6a55761aca3c95c815a51fffadebc35d922706f4 /llvm/lib/Transforms/IPO/PartialInlining.cpp
parent6e27b4f530ee1047442fdabfbbcf27d3a6d015af (diff)
downloadbcm5719-llvm-229e38f0febf2c095040e3db22f9a3e37cb33bc5.tar.gz
bcm5719-llvm-229e38f0febf2c095040e3db22f9a3e37cb33bc5.zip
Be more consistent in using ValueToValueMapTy.
llvm-svn: 116387
Diffstat (limited to 'llvm/lib/Transforms/IPO/PartialInlining.cpp')
-rw-r--r--llvm/lib/Transforms/IPO/PartialInlining.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/PartialInlining.cpp b/llvm/lib/Transforms/IPO/PartialInlining.cpp
index c0c252fe508..326285af126 100644
--- a/llvm/lib/Transforms/IPO/PartialInlining.cpp
+++ b/llvm/lib/Transforms/IPO/PartialInlining.cpp
@@ -67,7 +67,7 @@ Function* PartialInliner::unswitchFunction(Function* F) {
return 0;
// Clone the function, so that we can hack away on it.
- ValueMap<const Value*, Value*> VMap;
+ ValueToValueMapTy VMap;
Function* duplicateFunction = CloneFunction(F, VMap,
/*ModuleLevelChanges=*/false);
duplicateFunction->setLinkage(GlobalValue::InternalLinkage);
OpenPOWER on IntegriCloud