mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-13 08:25:27 +00:00
Temporarily revert 48175.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48204 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -685,15 +685,9 @@ void RALinScan::assignRegOrStackSlotAtInterval(LiveInterval* cur)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// All registers must have inf weight. Just grab one!
|
// All registers must have inf weight. Just grab one!
|
||||||
if (!minReg) {
|
if (!minReg)
|
||||||
if (active_.size() == 0) {
|
|
||||||
// FIXME: All the registers are occupied by fixed intervals.
|
|
||||||
cerr << "Register allocator ran out of registers!\n";
|
|
||||||
abort();
|
|
||||||
}
|
|
||||||
minReg = *RC->allocation_order_begin(*mf_);
|
minReg = *RC->allocation_order_begin(*mf_);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
DOUT << "\t\tregister with min weight: "
|
DOUT << "\t\tregister with min weight: "
|
||||||
<< tri_->getName(minReg) << " (" << minWeight << ")\n";
|
<< tri_->getName(minReg) << " (" << minWeight << ")\n";
|
||||||
|
Reference in New Issue
Block a user