[llvm-commits] CVS: llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Apr 23 11:37:08 PDT 2003


Changes in directory llvm/lib/CodeGen/InstrSelection:

InstrSelection.cpp updated: 1.56 -> 1.57

---
Log message:

Remove unneccesary &*



---
Diffs of the changes:

Index: llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp
diff -u llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp:1.56 llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp:1.57
--- llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp:1.56	Wed Jan 15 13:47:36 2003
+++ llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp	Wed Apr 23 11:36:11 2003
@@ -182,7 +182,7 @@
   MachineFunction &MF = MachineFunction::get(&F);
   for (MachineFunction::iterator BB = MF.begin(); BB != MF.end(); ++BB) {
     for (BasicBlock::iterator IIt = BB->getBasicBlock()->begin();
-         PHINode *PN = dyn_cast<PHINode>(&*IIt); ++IIt) {
+         PHINode *PN = dyn_cast<PHINode>(IIt); ++IIt) {
       // FIXME: This is probably wrong...
       Value *PhiCpRes = new PHINode(PN->getType(), "PhiCp:");
 





More information about the llvm-commits mailing list