mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-08 05:26:50 +00:00
[PPC] Silence warning in Release builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294791 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bec084b99d
commit
0746877d41
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user