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 {
402402 using LivenessMap = DenseMap<const MachineBasicBlock *, BlockLifetimeInfo>;
403403 LivenessMap BlockLiveness;
404404
405- // / Maps serial numbers to basic blocks.
406- DenseMap<const MachineBasicBlock *, int > BasicBlocks;
407-
408405 // / Maps basic blocks to a serial number.
409406 SmallVector<const MachineBasicBlock *, 8 > BasicBlockNumbering;
410407
@@ -727,7 +724,6 @@ unsigned StackColoring::collectMarkers(unsigned NumSlot) {
727724 // deterministic numbering.
728725 for (MachineBasicBlock *MBB : depth_first (MF)) {
729726 // Assign a serial number to this basic block.
730- BasicBlocks[MBB] = BasicBlockNumbering.size ();
731727 BasicBlockNumbering.push_back (MBB);
732728
733729 // Keep a reference to avoid repeated lookups.
@@ -1211,7 +1207,6 @@ bool StackColoring::run(MachineFunction &Func) {
12111207 MF = &Func;
12121208 MFI = &MF->getFrameInfo ();
12131209 BlockLiveness.clear ();
1214- BasicBlocks.clear ();
12151210 BasicBlockNumbering.clear ();
12161211 Markers.clear ();
12171212 Intervals.clear ();
You can’t perform that action at this time.
0 commit comments