File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -402,9 +402,6 @@ class StackColoring {
402
402
using LivenessMap = DenseMap<const MachineBasicBlock *, BlockLifetimeInfo>;
403
403
LivenessMap BlockLiveness;
404
404
405
- // / Maps serial numbers to basic blocks.
406
- DenseMap<const MachineBasicBlock *, int > BasicBlocks;
407
-
408
405
// / Maps basic blocks to a serial number.
409
406
SmallVector<const MachineBasicBlock *, 8 > BasicBlockNumbering;
410
407
@@ -727,7 +724,6 @@ unsigned StackColoring::collectMarkers(unsigned NumSlot) {
727
724
// deterministic numbering.
728
725
for (MachineBasicBlock *MBB : depth_first (MF)) {
729
726
// Assign a serial number to this basic block.
730
- BasicBlocks[MBB] = BasicBlockNumbering.size ();
731
727
BasicBlockNumbering.push_back (MBB);
732
728
733
729
// Keep a reference to avoid repeated lookups.
@@ -1211,7 +1207,6 @@ bool StackColoring::run(MachineFunction &Func) {
1211
1207
MF = &Func;
1212
1208
MFI = &MF->getFrameInfo ();
1213
1209
BlockLiveness.clear ();
1214
- BasicBlocks.clear ();
1215
1210
BasicBlockNumbering.clear ();
1216
1211
Markers.clear ();
1217
1212
Intervals.clear ();
You can’t perform that action at this time.
0 commit comments