mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
[C++] Use 'nullptr'. Tools edition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207176 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -179,16 +179,16 @@ void RemoteMemoryManager::setPoisonMemory(bool poison) { llvm_unreachable("Unexp
|
||||
void RemoteMemoryManager::AllocateGOT() { llvm_unreachable("Unexpected!"); }
|
||||
uint8_t *RemoteMemoryManager::getGOTBase() const {
|
||||
llvm_unreachable("Unexpected!");
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
uint8_t *RemoteMemoryManager::startFunctionBody(const Function *F, uintptr_t &ActualSize){
|
||||
llvm_unreachable("Unexpected!");
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
uint8_t *RemoteMemoryManager::allocateStub(const GlobalValue* F, unsigned StubSize,
|
||||
unsigned Alignment) {
|
||||
llvm_unreachable("Unexpected!");
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
void RemoteMemoryManager::endFunctionBody(const Function *F, uint8_t *FunctionStart,
|
||||
uint8_t *FunctionEnd) {
|
||||
@@ -196,11 +196,11 @@ void RemoteMemoryManager::endFunctionBody(const Function *F, uint8_t *FunctionSt
|
||||
}
|
||||
uint8_t *RemoteMemoryManager::allocateSpace(intptr_t Size, unsigned Alignment) {
|
||||
llvm_unreachable("Unexpected!");
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
uint8_t *RemoteMemoryManager::allocateGlobal(uintptr_t Size, unsigned Alignment) {
|
||||
llvm_unreachable("Unexpected!");
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
void RemoteMemoryManager::deallocateFunctionBody(void *Body) {
|
||||
llvm_unreachable("Unexpected!");
|
||||
|
Reference in New Issue
Block a user