mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-01-07 22:24:28 +00:00
[C++] Use 'nullptr'. Target edition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207197 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -113,7 +113,7 @@ bool PPCBSel::runOnMachineFunction(MachineFunction &Fn) {
|
||||
unsigned MBBStartOffset = 0;
|
||||
for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
|
||||
I != E; ++I) {
|
||||
MachineBasicBlock *Dest = 0;
|
||||
MachineBasicBlock *Dest = nullptr;
|
||||
if (I->getOpcode() == PPC::BCC && !I->getOperand(2).isImm())
|
||||
Dest = I->getOperand(2).getMBB();
|
||||
else if ((I->getOpcode() == PPC::BC || I->getOpcode() == PPC::BCn) &&
|
||||
|
||||
Reference in New Issue
Block a user