diff options
author | Dan Gohman <gohman@apple.com> | 2009-10-24 23:37:16 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-10-24 23:37:16 +0000 |
commit | 5fa75b0fa4af290ee4b7180f3e452942b4653aae (patch) | |
tree | 24edbda18a7093d04ba6faf937f8e7f3a8d2dd37 /include/llvm/Transforms/Utils/ValueMapper.h | |
parent | 32663b719b4996b3a735f22bba80d771d50f96e7 (diff) | |
download | external_llvm-5fa75b0fa4af290ee4b7180f3e452942b4653aae.zip external_llvm-5fa75b0fa4af290ee4b7180f3e452942b4653aae.tar.gz external_llvm-5fa75b0fa4af290ee4b7180f3e452942b4653aae.tar.bz2 |
MapValue doesn't needs its LLVMContext argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85020 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/ValueMapper.h')
-rw-r--r-- | include/llvm/Transforms/Utils/ValueMapper.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Transforms/Utils/ValueMapper.h b/include/llvm/Transforms/Utils/ValueMapper.h index d31edab..ed33413 100644 --- a/include/llvm/Transforms/Utils/ValueMapper.h +++ b/include/llvm/Transforms/Utils/ValueMapper.h @@ -20,10 +20,9 @@ namespace llvm { class Value; class Instruction; - class LLVMContext; typedef DenseMap<const Value *, Value *> ValueMapTy; - Value *MapValue(const Value *V, ValueMapTy &VM, LLVMContext &Context); + Value *MapValue(const Value *V, ValueMapTy &VM); void RemapInstruction(Instruction *I, ValueMapTy &VM); } // End llvm namespace |