[C++] Use 'nullptr'. Target edition.
[oota-llvm.git] / lib / Target / ARM64 / ARM64SelectionDAGInfo.cpp
index 49c3c0c1bf3895fa198f60316e9d52ec9d22bd70..a087b407d97fbb7970a264522d4215a7a3316527 100644 (file)
@@ -30,7 +30,7 @@ SDValue ARM64SelectionDAGInfo::EmitTargetCodeForMemset(
   ConstantSDNode *V = dyn_cast<ConstantSDNode>(Src);
   ConstantSDNode *SizeValue = dyn_cast<ConstantSDNode>(Size);
   const char *bzeroEntry =
-      (V && V->isNullValue()) ? Subtarget->getBZeroEntry() : 0;
+      (V && V->isNullValue()) ? Subtarget->getBZeroEntry() : nullptr;
   // For small size (< 256), it is not beneficial to use bzero
   // instead of memset.
   if (bzeroEntry && (!SizeValue || SizeValue->getZExtValue() > 256)) {