mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-01 01:26:56 +00:00
Added an API to the SlotIndexes pass to allow new instructions to be inserted into the numbering.
PreAllocSplitting is now using this API to insert code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88725 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -156,7 +156,7 @@ bool SlotIndexes::runOnMachineFunction(MachineFunction &fn) {
|
||||
return false;
|
||||
}
|
||||
|
||||
void SlotIndexes::renumber() {
|
||||
void SlotIndexes::renumberIndexes() {
|
||||
|
||||
// Renumber updates the index of every element of the index list.
|
||||
// If all instrs in the function have been allocated an index (which has been
|
||||
@@ -184,7 +184,6 @@ void SlotIndexes::renumber() {
|
||||
Slots = 1;
|
||||
|
||||
index += (Slots + 1) * SlotIndex::NUM;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user