File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -1630,8 +1630,6 @@ MipsConstantIslands::fixupConditionalBr(ImmBranch &Br) {
16301630}
16311631
16321632void MipsConstantIslands::prescanForConstants () {
1633- unsigned J = 0 ;
1634- (void )J;
16351633 for (MachineBasicBlock &B : *MF) {
16361634 for (MachineBasicBlock::instr_iterator I = B.instr_begin (),
16371635 EB = B.instr_end ();
@@ -1640,8 +1638,7 @@ void MipsConstantIslands::prescanForConstants() {
16401638 case Mips::LwConstant32: {
16411639 PrescannedForConstants = true ;
16421640 LLVM_DEBUG (dbgs () << " constant island constant " << *I << " \n " );
1643- J = I->getNumOperands ();
1644- LLVM_DEBUG (dbgs () << " num operands " << J << " \n " );
1641+ LLVM_DEBUG (dbgs () << " num operands " << I->getNumOperands () << " \n " );
16451642 MachineOperand& Literal = I->getOperand (1 );
16461643 if (Literal.isImm ()) {
16471644 int64_t V = Literal.getImm ();
You can’t perform that action at this time.
0 commit comments