diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-08-15 09:18:55 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-08-15 09:18:55 +0000 |
commit | 8c9b4de5744ea6c4ce8b79e8a55130df268761cd (patch) | |
tree | 1bdd498c853c3b016b53cbb20a262aa3e8c5def2 /include/llvm/Target/TargetFrameInfo.h | |
parent | bf437720381ded52024e52560bc84e95dde266f7 (diff) | |
download | external_llvm-8c9b4de5744ea6c4ce8b79e8a55130df268761cd.zip external_llvm-8c9b4de5744ea6c4ce8b79e8a55130df268761cd.tar.gz external_llvm-8c9b4de5744ea6c4ce8b79e8a55130df268761cd.tar.bz2 |
Make this compile on gc 3.4.1 (static_cast to non-const type was not
allowed).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15766 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetFrameInfo.h')
-rw-r--r-- | include/llvm/Target/TargetFrameInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetFrameInfo.h b/include/llvm/Target/TargetFrameInfo.h index c727561..dfdca8d 100644 --- a/include/llvm/Target/TargetFrameInfo.h +++ b/include/llvm/Target/TargetFrameInfo.h @@ -67,7 +67,7 @@ public: /// 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; |