fix an obscure and tricky bug the inliner can hit sometimes.

llvm-svn: 34531
This commit is contained in:
Chris Lattner
2007-02-23 19:54:30 +00:00
parent 83908e664f
commit 1e48acb858

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