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

Chris Lattner lattner at cs.uiuc.edu
Thu May 29 10:13:08 PDT 2003


Changes in directory llvm/lib/Transforms:

ExprTypeConvert.cpp updated: 1.72 -> 1.73

---
Log message:

Eliminate unnecessary ->get calls that are now automatically handled.


---
Diffs of the changes:

Index: llvm/lib/Transforms/ExprTypeConvert.cpp
diff -u llvm/lib/Transforms/ExprTypeConvert.cpp:1.72 llvm/lib/Transforms/ExprTypeConvert.cpp:1.73
--- llvm/lib/Transforms/ExprTypeConvert.cpp:1.72	Tue May 20 16:01:14 2003
+++ llvm/lib/Transforms/ExprTypeConvert.cpp	Thu May 29 10:12:27 2003
@@ -1257,7 +1257,7 @@
 
   for (User::op_iterator OI = I->op_begin(), OE = I->op_end(); 
        OI != OE; ++OI)
-    if (Instruction *U = dyn_cast<Instruction>(OI->get())) {
+    if (Instruction *U = dyn_cast<Instruction>(OI)) {
       *OI = 0;
       RecursiveDelete(Cache, U);
     }





More information about the llvm-commits mailing list