aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SparcV9/RegAlloc
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-07-29 04:15:36 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-07-29 04:15:36 +0000
commitfc63adb1b942eac000e498af0402dfe1f82e2c84 (patch)
tree2afaf547fc9c883cafb58d079cb2e921c6d68d8b /lib/Target/SparcV9/RegAlloc
parentacb7444b05b5a8bf7791ee0958d6ed8eaa6bf8ed (diff)
downloadexternal_llvm-fc63adb1b942eac000e498af0402dfe1f82e2c84.zip
external_llvm-fc63adb1b942eac000e498af0402dfe1f82e2c84.tar.gz
external_llvm-fc63adb1b942eac000e498af0402dfe1f82e2c84.tar.bz2
Remove mustSaveAcrossCalls flag, which isn't ever read, and its mutator,
markForSaveAcrossCalls. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15317 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/RegAlloc')
-rw-r--r--lib/Target/SparcV9/RegAlloc/LiveRange.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/Target/SparcV9/RegAlloc/LiveRange.h b/lib/Target/SparcV9/RegAlloc/LiveRange.h
index d6e2cf6..045a910 100644
--- a/lib/Target/SparcV9/RegAlloc/LiveRange.h
+++ b/lib/Target/SparcV9/RegAlloc/LiveRange.h
@@ -40,11 +40,6 @@ class LiveRange : public ValueSet {
int Color; // color assigned to this live range
bool mustSpill; // whether this LR must be spilt
- /// mustSaveAcrossCalls - whether this LR must be saved accross calls
- /// ***TODO REMOVE this
- ///
- bool mustSaveAcrossCalls;
-
/// SuggestedColor - if this LR has a suggested color, can it be
/// really alloated? A suggested color cannot be allocated when the
/// suggested color is volatile and when there are call
@@ -77,7 +72,7 @@ class LiveRange : public ValueSet {
public:
LiveRange() {
Color = SuggestedColor = -1; // not yet colored
- mustSpill = mustSaveAcrossCalls = false;
+ mustSpill = false;
MyRegClass = 0;
UserIGNode = 0;
doesSpanAcrossCalls = false;
@@ -133,8 +128,6 @@ public:
return SpilledStackOffsetFromFP;
}
- inline void markForSaveAcrossCalls() { mustSaveAcrossCalls = true; }
-
inline void setUserIGNode(IGNode *IGN) {
assert(!UserIGNode); UserIGNode = IGN;
}