mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +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:
@@ -288,7 +288,7 @@ XCoreInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB,
|
||||
assert((Cond.size() == 2 || Cond.size() == 0) &&
|
||||
"Unexpected number of components!");
|
||||
|
||||
if (FBB == 0) { // One way branch.
|
||||
if (!FBB) { // One way branch.
|
||||
if (Cond.empty()) {
|
||||
// Unconditional branch
|
||||
BuildMI(&MBB, DL, get(XCore::BRFU_lu6)).addMBB(TBB);
|
||||
|
Reference in New Issue
Block a user