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 | 1e48acb858c268e6396a2828eafdbc9edb59aa6d (patch) | |
| tree | 75758c81048159bf50c8594ea3519190792a35e2 | |
| parent | 83908e664f2a8e329d90222f0e95d26675fb117e (diff) | |
| download | bcm5719-llvm-1e48acb858c268e6396a2828eafdbc9edb59aa6d.tar.gz bcm5719-llvm-1e48acb858c268e6396a2828eafdbc9edb59aa6d.zip | |
fix an obscure and tricky bug the inliner can hit sometimes.
llvm-svn: 34531
| -rw-r--r-- | llvm/lib/Transforms/Utils/ValueMapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/ValueMapper.cpp b/llvm/lib/Transforms/Utils/ValueMapper.cpp index fd68240f41a..bfba94a24f1 100644 --- a/llvm/lib/Transforms/Utils/ValueMapper.cpp +++ b/llvm/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!"); |

