diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-23 19:54:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-23 19:54:30 +0000 |
commit | cae0a193e310050b6bb9cc4628b7151997126f60 (patch) | |
tree | 50d4324f1cad699b8a471f9f6f63000c438b9c29 /lib/Transforms/Utils/ValueMapper.cpp | |
parent | c8e02e9fbed0dcc4086319791153d5f54196e2bf (diff) |
fix an obscure and tricky bug the inliner can hit sometimes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34531 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/ValueMapper.cpp')
-rw-r--r-- | lib/Transforms/Utils/ValueMapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/ValueMapper.cpp b/lib/Transforms/Utils/ValueMapper.cpp index fd68240f41..bfba94a24f 100644 --- a/lib/Transforms/Utils/ValueMapper.cpp +++ b/lib/Transforms/Utils/ValueMapper.cpp @@ -95,7 +95,7 @@ Value *llvm::MapValue(const Value *V, ValueMapTy &VM) { return VM[V] = ConstantVector::get(Values); } } - return VMSlot = C; + return VM[V] = C; } else { assert(0 && "Unknown type of constant!"); |