[C++] Use 'nullptr'. Target edition.
[oota-llvm.git] / lib / Target / MSP430 / MSP430FrameLowering.cpp
index ce078a30db42bfabc8f062afd8d4db866bc6213f..82c8b298c51f4be46a1ae8ef5b4353834bd1afac 100644 (file)
@@ -242,7 +242,7 @@ eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,
       // alignment boundary.
       Amount = (Amount+StackAlign-1)/StackAlign*StackAlign;
 
-      MachineInstr *New = 0;
+      MachineInstr *New = nullptr;
       if (Old->getOpcode() == TII.getCallFrameSetupOpcode()) {
         New = BuildMI(MF, Old->getDebugLoc(),
                       TII.get(MSP430::SUB16ri), MSP430::SPW)