[llvm-commits] CVS: llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h

Evan Cheng evan.cheng at apple.com
Thu Feb 22 15:52:39 PST 2007



Changes in directory llvm/include/llvm/CodeGen:

LiveIntervalAnalysis.h updated: 1.73 -> 1.74
---
Log message:

Copy and paste silliness.

---
Diffs of the changes:  (+1 -2)

 LiveIntervalAnalysis.h |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


Index: llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
diff -u llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.73 llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.74
--- llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.73	Thu Feb 22 17:03:39 2007
+++ llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h	Thu Feb 22 17:52:23 2007
@@ -175,8 +175,7 @@
     /// isRemoved - returns true if the specified machine instr has been
     /// removed.
     bool isRemoved(MachineInstr* instr) const {
-      Mi2IndexMap::const_iterator it = mi2iMap_.find(instr);
-      return it == mi2iMap_.end();
+      return !mi2iMap_.count(instr);
     }
 
     /// RemoveMachineInstrFromMaps - This marks the specified machine instr as






More information about the llvm-commits mailing list