Use ValueMap instead of DenseMap.
[oota-llvm.git] / lib / Target / PIC16 / PIC16Passes / PIC16Cloner.h
index 24c11527b03c53b3e2a6d5dd863ff4acce30159f..e8b5aa45cdca9dde86570321c1e03ed51ce85b12 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef PIC16CLONER_H
 #define PIC16CLONER_H
 
-#include "llvm/ADT/DenseMap.h"
+#include "llvm/ADT/ValueMap.h"
 
 using namespace llvm;
 using std::vector;
@@ -72,7 +72,7 @@ namespace llvm {
     // the corresponding cloned auto variable of the cloned function. 
     // This value map is passed during the function cloning so that all the
     // uses of auto variables be updated properly. 
-    DenseMap<const Value*, Value*> ValueMap;
+    ValueMap<const Value*, Value*> VMap;
 
     // Map of a already cloned functions. 
     map<Function *, Function *> ClonedFunctionMap;