Skip to content

Commit

Permalink
[PPC] Silence warning in Release builds.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294791 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
d0k committed Feb 10, 2017
1 parent bec084b commit 0746877
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Target/PowerPC/PPCAsmPrinter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1105,8 +1105,7 @@ void PPCLinuxAsmPrinter::EmitInstruction(const MachineInstr *MI) {
// of instructions change.
const MachineInstr *Next = [&] {
MachineBasicBlock::const_iterator It(MI);
const MachineBasicBlock *MBB = MI->getParent();
assert(It != MBB->end());
assert(It != MI->getParent()->end());
++It;
assert(It->isReturn());
return &*It;
Expand Down

0 comments on commit 0746877

Please sign in to comment.