From: Chris Lattner Date: Mon, 4 Nov 2002 05:50:42 +0000 (+0000) Subject: Ack: Fix bug in previous checkin. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=35b74c4e54b6becec640c4c1e7c2097111b5ea20;p=oota-llvm.git Ack: Fix bug in previous checkin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4526 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/ExprTypeConvert.cpp b/lib/Transforms/ExprTypeConvert.cpp index aa183d24ebf..860b950b0c8 100644 --- a/lib/Transforms/ExprTypeConvert.cpp +++ b/lib/Transforms/ExprTypeConvert.cpp @@ -320,7 +320,7 @@ Value *ConvertExpressionToType(Value *V, const Type *Ty, ValueMapCache &VMC) { Instruction *I = dyn_cast(V); if (I == 0) { - Constant *CPV = cast(V)) { + Constant *CPV = cast(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);