[FastISel]
[oota-llvm.git] / include / llvm / CodeGen / MachineCodeEmitter.h
index f729cedde4c16a9fc6bb64ae78b1edd268ba5ffb..81b0ba1e7c71bf6a9716ef86d7d91d43bf206a12 100644 (file)
@@ -262,7 +262,7 @@ public:
     // Check for buffer overflow.
     if (Size >= (uintptr_t)(BufferEnd-CurBufferPtr)) {
       CurBufferPtr = BufferEnd;
-      Result = 0;
+      Result = nullptr;
     } else {
       // Allocate the space.
       Result = CurBufferPtr;