diff options
| author | Brian Gaeke <gaeke@uiuc.edu> | 2004-07-29 04:15:36 +0000 |
|---|---|---|
| committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-07-29 04:15:36 +0000 |
| commit | 3cf8d5b0a2f0894c0e75303cc6c550076feb346f (patch) | |
| tree | 87aaa92593b29831d73360c783d43135aa4f7b77 /llvm/lib/Target/SparcV9/RegAlloc | |
| parent | d78935ab60a45a6868eae0b2e78f3258b3ecbe92 (diff) | |
| download | bcm5719-llvm-3cf8d5b0a2f0894c0e75303cc6c550076feb346f.tar.gz bcm5719-llvm-3cf8d5b0a2f0894c0e75303cc6c550076feb346f.zip | |
Remove mustSaveAcrossCalls flag, which isn't ever read, and its mutator,
markForSaveAcrossCalls.
llvm-svn: 15317
Diffstat (limited to 'llvm/lib/Target/SparcV9/RegAlloc')
| -rw-r--r-- | llvm/lib/Target/SparcV9/RegAlloc/LiveRange.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/llvm/lib/Target/SparcV9/RegAlloc/LiveRange.h b/llvm/lib/Target/SparcV9/RegAlloc/LiveRange.h index d6e2cf63072..045a91032c4 100644 --- a/llvm/lib/Target/SparcV9/RegAlloc/LiveRange.h +++ b/llvm/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; } |

