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
This commit is contained in:
Chris Lattner 2007-02-23 19:54:30 +00:00
parent c8e02e9fbe
commit cae0a193e3

View File

@ -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!");