aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms/Utils/ValueMapper.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-05 22:41:43 +0000
committerOwen Anderson <resistor@mac.com>2009-07-05 22:41:43 +0000
commit0a205a459884ec745df1c529396dd921f029dafd (patch)
tree905109491ef6c2ea3d99d01fc48af9c2c633e645 /include/llvm/Transforms/Utils/ValueMapper.h
parentdb882950f3bcf7f710843610e917988daeafffc2 (diff)
downloadexternal_llvm-0a205a459884ec745df1c529396dd921f029dafd.zip
external_llvm-0a205a459884ec745df1c529396dd921f029dafd.tar.gz
external_llvm-0a205a459884ec745df1c529396dd921f029dafd.tar.bz2
More LLVMContext-ification.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74807 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/ValueMapper.h')
-rw-r--r--include/llvm/Transforms/Utils/ValueMapper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Utils/ValueMapper.h b/include/llvm/Transforms/Utils/ValueMapper.h
index ed33413..bddf393 100644
--- a/include/llvm/Transforms/Utils/ValueMapper.h
+++ b/include/llvm/Transforms/Utils/ValueMapper.h
@@ -20,9 +20,10 @@
namespace llvm {
class Value;
class Instruction;
+ class LLVMContext;
typedef DenseMap<const Value *, Value *> ValueMapTy;
- Value *MapValue(const Value *V, ValueMapTy &VM);
+ Value *MapValue(const Value *V, ValueMapTy &VM, LLVMContext* Context);
void RemapInstruction(Instruction *I, ValueMapTy &VM);
} // End llvm namespace