[llvm-commits] CVS: llvm/include/llvm/Target/TargetFrameInfo.h

Alkis Evlogimenos alkis at cs.uiuc.edu
Sun Aug 15 02:19:06 PDT 2004



Changes in directory llvm/include/llvm/Target:

TargetFrameInfo.h updated: 1.15 -> 1.16
---
Log message:

Make this compile on gc 3.4.1 (static_cast to non-const type was not
allowed).


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

Index: llvm/include/llvm/Target/TargetFrameInfo.h
diff -u llvm/include/llvm/Target/TargetFrameInfo.h:1.15 llvm/include/llvm/Target/TargetFrameInfo.h:1.16
--- llvm/include/llvm/Target/TargetFrameInfo.h:1.15	Thu Aug 12 14:01:55 2004
+++ llvm/include/llvm/Target/TargetFrameInfo.h	Sun Aug 15 04:18:55 2004
@@ -67,7 +67,7 @@
   /// spilled at.  If a register is not listed here, the code generator is
   /// allowed to spill it anywhere it chooses.
   /// 
-  virtual std::pair<unsigned, int> *
+  virtual const std::pair<unsigned, int> *
   getCalleeSaveSpillSlots(unsigned &NumEntries) const {
     NumEntries = 0;
     return 0;






More information about the llvm-commits mailing list