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

Alkis Evlogimenos alkis at cs.uiuc.edu
Thu Dec 18 02:57:01 PST 2003


Changes in directory llvm/lib/CodeGen:

RegAllocLinearScan.cpp updated: 1.10 -> 1.11

---
Log message:

Rename LiveIntervals::expired() to LiveIntervals::expiredAt().


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

Index: llvm/lib/CodeGen/RegAllocLinearScan.cpp
diff -u llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.10 llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.11
--- llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.10	Sun Dec 14 07:24:16 2003
+++ llvm/lib/CodeGen/RegAllocLinearScan.cpp	Thu Dec 18 02:56:11 2003
@@ -464,7 +464,7 @@
         // an interval expires this is going to be the last use. in
         // this case we can reuse the register for a def in the same
         // instruction
-        if ((*i)->expired(cur->start() + 1)) {
+        if ((*i)->expiredAt(cur->start() + 1)) {
             DEBUG(std::cerr << "\t\tinterval " << **i << " expired\n");
             if (reg < MRegisterInfo::FirstVirtualRegister) {
                 clearReservedPhysReg(reg);





More information about the llvm-commits mailing list