From 774cca70b10bc679daff8203d639d9004a2eb194 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Thu, 24 Jun 2010 00:00:42 +0000 Subject: Use available typedef for " DenseMap". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106699 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Utils/CloneModule.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Transforms/Utils/CloneModule.cpp') diff --git a/lib/Transforms/Utils/CloneModule.cpp b/lib/Transforms/Utils/CloneModule.cpp index cdc9b46979..fc603d23e9 100644 --- a/lib/Transforms/Utils/CloneModule.cpp +++ b/lib/Transforms/Utils/CloneModule.cpp @@ -28,12 +28,12 @@ using namespace llvm; Module *llvm::CloneModule(const Module *M) { // Create the value map that maps things from the old module over to the new // module. - DenseMap VMap; + ValueToValueMapTy VMap; return CloneModule(M, VMap); } Module *llvm::CloneModule(const Module *M, - DenseMap &VMap) { + ValueToValueMapTy &VMap) { // First off, we need to create the new module... Module *New = new Module(M->getModuleIdentifier(), M->getContext()); New->setDataLayout(M->getDataLayout()); -- cgit v1.2.3-18-g5258