aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2003-07-10 19:45:28 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2003-07-10 19:45:28 +0000
commit24d0410db074192fc8d9a60a168f6ec9d1b41edd (patch)
treeb1c02464db60a644a8bc6805d1435b23cbb538c9 /lib/CodeGen
parent627eb31cd791f808eaa048478d01222577a30a1a (diff)
downloadexternal_llvm-24d0410db074192fc8d9a60a168f6ec9d1b41edd.zip
external_llvm-24d0410db074192fc8d9a60a168f6ec9d1b41edd.tar.gz
external_llvm-24d0410db074192fc8d9a60a168f6ec9d1b41edd.tar.bz2
isMarkedForSpill() should be const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7155 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/RegAlloc/LiveRange.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAlloc/LiveRange.h b/lib/CodeGen/RegAlloc/LiveRange.h
index 588b7b5..c3caa29 100644
--- a/lib/CodeGen/RegAlloc/LiveRange.h
+++ b/lib/CodeGen/RegAlloc/LiveRange.h
@@ -101,7 +101,7 @@ public:
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");