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

Vikram Adve vadve at cs.uiuc.edu
Thu Jul 10 14:46:02 PDT 2003


Changes in directory llvm/include/llvm/CodeGen:

LiveRange.h updated: 1.20 -> 1.21

---
Log message:

isMarkedForSpill() should be const.


---
Diffs of the changes:

Index: llvm/include/llvm/CodeGen/LiveRange.h
diff -u llvm/include/llvm/CodeGen/LiveRange.h:1.20 llvm/include/llvm/CodeGen/LiveRange.h:1.21
--- llvm/include/llvm/CodeGen/LiveRange.h:1.20	Sat Jun 21 22:06:13 2003
+++ llvm/include/llvm/CodeGen/LiveRange.h	Thu Jul 10 14:45:28 2003
@@ -101,7 +101,7 @@
 
   inline void markForSpill() { mustSpill = true; }
 
-  inline bool isMarkedForSpill() { return mustSpill; }
+  inline bool isMarkedForSpill() const { return mustSpill; }
 
   inline void setSpillOffFromFP(int StackOffset) {
     assert(mustSpill && "This LR is not spilled");





More information about the llvm-commits mailing list