[llvm-commits] CVS: llvm/lib/Transforms/ExprTypeConvert.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun Nov 3 23:51:00 PST 2002


Changes in directory llvm/lib/Transforms:

ExprTypeConvert.cpp updated: 1.64 -> 1.65

---
Log message:

Ack: Fix bug in previous checkin.


---
Diffs of the changes:

Index: llvm/lib/Transforms/ExprTypeConvert.cpp
diff -u llvm/lib/Transforms/ExprTypeConvert.cpp:1.64 llvm/lib/Transforms/ExprTypeConvert.cpp:1.65
--- llvm/lib/Transforms/ExprTypeConvert.cpp:1.64	Sun Nov  3 23:46:37 2002
+++ llvm/lib/Transforms/ExprTypeConvert.cpp	Sun Nov  3 23:50:42 2002
@@ -320,7 +320,7 @@
 
   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);





More information about the llvm-commits mailing list