mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 06:09:05 +00:00
Pacify gcc-4.5 which wrongly thinks that RExcess (passed as the Excess parameter)
may be used uninitialized in the callers of HighRegPressure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109393 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fd2878c8d0
commit
b3893b193b
@ -1192,11 +1192,12 @@ namespace {
|
||||
}
|
||||
|
||||
bool HighRegPressure(const SUnit *SU, unsigned &Excess) const {
|
||||
Excess = 0;
|
||||
|
||||
if (!TLI)
|
||||
return false;
|
||||
|
||||
bool High = false;
|
||||
Excess = 0;
|
||||
for (SUnit::const_pred_iterator I = SU->Preds.begin(),E = SU->Preds.end();
|
||||
I != E; ++I) {
|
||||
if (I->isCtrl())
|
||||
|
Loading…
Reference in New Issue
Block a user