Ack: Fix bug in previous checkin.
authorChris Lattner <sabre@nondot.org>
Mon, 4 Nov 2002 05:50:42 +0000 (05:50 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 4 Nov 2002 05:50:42 +0000 (05:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4526 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/ExprTypeConvert.cpp

index aa183d24ebf5facf5467a8df2a2ee1d421677f66..860b950b0c8e76ac0a30795211896a656ec011ba 100644 (file)
@@ -320,7 +320,7 @@ Value *ConvertExpressionToType(Value *V, const Type *Ty, ValueMapCache &VMC) {
 
   Instruction *I = dyn_cast<Instruction>(V);
   if (I == 0) {
-    Constant *CPV = cast<Constant>(V)) {
+    Constant *CPV = cast<Constant>(V);
     // Constants are converted by constant folding the cast that is required.
     // We assume here that all casts are implemented for constant prop.
     Value *Result = ConstantFoldCastInstruction(CPV, Ty);