Fix an obvious oops
authorChris Lattner <sabre@nondot.org>
Wed, 10 Aug 2005 00:59:40 +0000 (00:59 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 10 Aug 2005 00:59:40 +0000 (00:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22742 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ScalarEvolution.cpp

index 1f798bc8b096bd992dc8ef2fe2592ed9763a19c3..349979843a5378dd05f85ef550a712bd13e444f6 100644 (file)
@@ -2344,7 +2344,7 @@ SCEVHandle ScalarEvolution::getSCEV(Value *V) const {
 /// hasSCEV - Return true if the SCEV for this value has already been
 /// computed.
 bool ScalarEvolution::hasSCEV(Value *V) const {
-  ((ScalarEvolutionsImpl*)Impl)->hasSCEV(V);
+  return ((ScalarEvolutionsImpl*)Impl)->hasSCEV(V);
 }