File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
llvm/lib/CodeGen/AsmPrinter Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -807,6 +807,7 @@ static void collectCallSiteParameters(const MachineInstr *CallMI,
807
807
auto Suc = std::next (CallMI->getIterator ());
808
808
// Only one-instruction delay slot is supported.
809
809
auto BundleEnd = llvm::getBundleEnd (CallMI->getIterator ());
810
+ (void )BundleEnd;
810
811
assert (std::next (Suc) == BundleEnd &&
811
812
" More than one instruction in call delay slot" );
812
813
// Try to interpret value loaded by instruction.
@@ -856,7 +857,9 @@ void DwarfDebug::constructCallSiteEntryDIEs(const DISubprogram &SP,
856
857
return false ;
857
858
auto Suc = std::next (MI.getIterator ());
858
859
auto CallInstrBundle = getBundleStart (MI.getIterator ());
860
+ (void )CallInstrBundle;
859
861
auto DelaySlotBundle = getBundleStart (Suc);
862
+ (void )DelaySlotBundle;
860
863
// Ensure that label after call is following delay slot instruction.
861
864
// Ex. CALL_INSTRUCTION {
862
865
// DELAY_SLOT_INSTRUCTION }
@@ -1893,6 +1896,7 @@ void DwarfDebug::beginInstruction(const MachineInstr *MI) {
1893
1896
if (!MI.isBundledWithSucc ())
1894
1897
return false ;
1895
1898
auto Suc = std::next (MI.getIterator ());
1899
+ (void )Suc;
1896
1900
// Ensure that delay slot instruction is successor of the call instruction.
1897
1901
// Ex. CALL_INSTRUCTION {
1898
1902
// DELAY_SLOT_INSTRUCTION }
You can’t perform that action at this time.
0 commit comments