Index: src/IceIntrinsics.cpp |
diff --git a/src/IceIntrinsics.cpp b/src/IceIntrinsics.cpp |
index 2c97809a11bf957dfbe508378bede46681697bd0..16d07e12fe4c974943478fc1af10a8cc7934df9c 100644 |
--- a/src/IceIntrinsics.cpp |
+++ b/src/IceIntrinsics.cpp |
@@ -217,7 +217,7 @@ const Intrinsics::FullIntrinsicInfo * |
Intrinsics::find(const IceString &Name) const { |
auto it = Map.find(Name); |
if (it == Map.end()) |
- return NULL; |
+ return nullptr; |
return &it->second; |
} |
@@ -231,7 +231,7 @@ Intrinsics::FullIntrinsicInfo::validateCall(const Ice::InstCall *Call, |
SizeT &ArgIndex) const { |
assert(NumTypes >= 1); |
Variable *Result = Call->getDest(); |
- if (Result == NULL) { |
+ if (Result == nullptr) { |
if (Signature[0] != Ice::IceType_void) |
return Intrinsics::BadReturnType; |
} else if (Signature[0] != Result->getType()) { |