diff options
author | Chris Lattner <sabre@nondot.org> | 2004-04-22 15:00:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-04-22 15:00:36 +0000 |
commit | 7d221c53e521edd36cc1d9f42fdb4d3201d5e014 (patch) | |
tree | cb06c86f5e3e4db21974ca6370929ec1605ded29 | |
parent | fcb81f5f4cbac61851b7dec403961cf88e614aa1 (diff) |
Add an ugly cast
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13107 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Analysis/ScalarEvolution.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h index c5a892ced2..c75e5d8c4e 100644 --- a/include/llvm/Analysis/ScalarEvolution.h +++ b/include/llvm/Analysis/ScalarEvolution.h @@ -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); } |