Index: src/IceRegAlloc.cpp |
diff --git a/src/IceRegAlloc.cpp b/src/IceRegAlloc.cpp |
index 36018466da2474b956d4f9f08b88edcd8790c223..d2bc8fb7a822c09534ba83b21019c4c8edd1a511 100644 |
--- a/src/IceRegAlloc.cpp |
+++ b/src/IceRegAlloc.cpp |
@@ -410,7 +410,7 @@ void LinearScan::scan(const llvm::SmallBitVector &RegMaskFull, |
// but is never modified. Furthermore, overlap is only allowed |
// when preferred Variable definition instructions do not appear |
// within the current Variable's live range. |
- Variable *Prefer = NULL; |
+ Variable *Prefer = nullptr; |
int32_t PreferReg = Variable::NoRegister; |
bool AllowOverlap = false; |
if (FindPreference) { |