summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAlloc
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
commitabf331db030cf08705bbe83c52dafd1cf1a4dc36 (patch)
tree53adca3b230dfd4d6240b87a6a4abad5461a8885 /llvm/lib/CodeGen/RegAlloc
parent689adb19b098c405798555fbfdc362c8a58e24af (diff)
downloadbcm5719-llvm-abf331db030cf08705bbe83c52dafd1cf1a4dc36.tar.gz
bcm5719-llvm-abf331db030cf08705bbe83c52dafd1cf1a4dc36.zip
isMarkedForSpill() should be const.
llvm-svn: 7155
Diffstat (limited to 'llvm/lib/CodeGen/RegAlloc')
-rw-r--r--llvm/lib/CodeGen/RegAlloc/LiveRange.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/LiveRange.h b/llvm/lib/CodeGen/RegAlloc/LiveRange.h
index 588b7b526e0..c3caa295717 100644
--- a/llvm/lib/CodeGen/RegAlloc/LiveRange.h
+++ b/llvm/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");
OpenPOWER on IntegriCloud