projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add mfasr and mtasr
[oota-llvm.git]
/
include
/
llvm
/
CodeGen
/
JITCodeEmitter.h
diff --git
a/include/llvm/CodeGen/JITCodeEmitter.h
b/include/llvm/CodeGen/JITCodeEmitter.h
index bb0df2e277b2a325f9e115dc42ed720963b59a44..dc2a0272db4e22919df23c4adfe06a4b0e4329b4 100644
(file)
--- a/
include/llvm/CodeGen/JITCodeEmitter.h
+++ b/
include/llvm/CodeGen/JITCodeEmitter.h
@@
-260,7
+260,7
@@
public:
// Check for buffer overflow.
if (Size >= (uintptr_t)(BufferEnd-CurBufferPtr)) {
CurBufferPtr = BufferEnd;
// Check for buffer overflow.
if (Size >= (uintptr_t)(BufferEnd-CurBufferPtr)) {
CurBufferPtr = BufferEnd;
- Result =
0
;
+ Result =
nullptr
;
} else {
// Allocate the space.
Result = CurBufferPtr;
} else {
// Allocate the space.
Result = CurBufferPtr;
@@
-334,7
+334,9
@@
public:
/// getLabelLocations - Return the label locations map of the label IDs to
/// their address.
/// getLabelLocations - Return the label locations map of the label IDs to
/// their address.
- virtual DenseMap<MCSymbol*, uintptr_t> *getLabelLocations() { return 0; }
+ virtual DenseMap<MCSymbol*, uintptr_t> *getLabelLocations() {
+ return nullptr;
+ }
};
} // End llvm namespace
};
} // End llvm namespace