Add an ugly cast

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13107 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-04-22 15:00:36 +00:00
parent fcb81f5f4c
commit 7d221c53e5

View File

@ -254,7 +254,7 @@ namespace llvm {
/// addInsertedValue - Remember the specified instruction as being the
/// canonical form for the specified SCEV.
void addInsertedValue(Instruction *I, SCEV *S) {
InsertedExpressions[S] = I;
InsertedExpressions[S] = (Value*)I;
InsertedInstructions.insert(I);
}