mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +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:
@@ -916,9 +916,9 @@ bool Thumb2SizeReduce::ReduceMBB(MachineBasicBlock &MBB) {
|
||||
|
||||
// Yes, CPSR could be livein.
|
||||
bool LiveCPSR = MBB.isLiveIn(ARM::CPSR);
|
||||
MachineInstr *BundleMI = 0;
|
||||
MachineInstr *BundleMI = nullptr;
|
||||
|
||||
CPSRDef = 0;
|
||||
CPSRDef = nullptr;
|
||||
HighLatencyCPSR = false;
|
||||
|
||||
// Check predecessors for the latest CPSRDef.
|
||||
@@ -984,7 +984,7 @@ bool Thumb2SizeReduce::ReduceMBB(MachineBasicBlock &MBB) {
|
||||
LiveCPSR = UpdateCPSRDef(*MI, LiveCPSR, DefCPSR);
|
||||
if (MI->isCall()) {
|
||||
// Calls don't really set CPSR.
|
||||
CPSRDef = 0;
|
||||
CPSRDef = nullptr;
|
||||
HighLatencyCPSR = false;
|
||||
IsSelfLoop = false;
|
||||
} else if (DefCPSR) {
|
||||
|
||||
Reference in New Issue
Block a user