projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[FastISel]
[oota-llvm.git]
/
include
/
llvm
/
CodeGen
/
MachineCodeEmitter.h
diff --git
a/include/llvm/CodeGen/MachineCodeEmitter.h
b/include/llvm/CodeGen/MachineCodeEmitter.h
index f729cedde4c16a9fc6bb64ae78b1edd268ba5ffb..81b0ba1e7c71bf6a9716ef86d7d91d43bf206a12 100644
(file)
--- a/
include/llvm/CodeGen/MachineCodeEmitter.h
+++ b/
include/llvm/CodeGen/MachineCodeEmitter.h
@@
-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;