diff options
author | Chris Lattner <sabre@nondot.org> | 2002-11-04 05:50:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-11-04 05:50:42 +0000 |
commit | 35b74c4e54b6becec640c4c1e7c2097111b5ea20 (patch) | |
tree | b5202779ca828c3b2c4fe6c18a2e7a4f2806d1de /lib/Transforms/ExprTypeConvert.cpp | |
parent | 38dc4f06af12a16efb52ee09d63182cd6a1775c6 (diff) |
Ack: Fix bug in previous checkin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4526 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/ExprTypeConvert.cpp')
-rw-r--r-- | lib/Transforms/ExprTypeConvert.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/ExprTypeConvert.cpp b/lib/Transforms/ExprTypeConvert.cpp index aa183d24eb..860b950b0c 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<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); |