mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 17:24:48 +00:00
Fix a misunderstanding about how RegMaskBlocks works. This was caught by
assertions in the register allocator when running 'make check' without LiveVariables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175599 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -218,7 +218,7 @@ namespace llvm {
|
|||||||
Indexes->insertMBBInMaps(MBB);
|
Indexes->insertMBBInMaps(MBB);
|
||||||
assert(unsigned(MBB->getNumber()) == RegMaskBlocks.size() &&
|
assert(unsigned(MBB->getNumber()) == RegMaskBlocks.size() &&
|
||||||
"Blocks must be added in order.");
|
"Blocks must be added in order.");
|
||||||
RegMaskBlocks.push_back(std::make_pair(MBB->getNumber(), 0));
|
RegMaskBlocks.push_back(std::make_pair(RegMaskSlots.size(), 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
SlotIndex InsertMachineInstrInMaps(MachineInstr *MI) {
|
SlotIndex InsertMachineInstrInMaps(MachineInstr *MI) {
|
||||||
|
Reference in New Issue
Block a user