mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 19:25:00 +00:00
[C++] Use 'nullptr'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207394 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -108,7 +108,7 @@ public:
|
||||
|
||||
/// create - Create an interpreter ExecutionEngine. This can never fail.
|
||||
///
|
||||
static ExecutionEngine *create(Module *M, std::string *ErrorStr = 0);
|
||||
static ExecutionEngine *create(Module *M, std::string *ErrorStr = nullptr);
|
||||
|
||||
/// run - Start execution with the specified function and arguments.
|
||||
///
|
||||
@@ -118,7 +118,7 @@ public:
|
||||
void *getPointerToNamedFunction(const std::string &Name,
|
||||
bool AbortOnFailure = true) override {
|
||||
// FIXME: not implemented.
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
/// recompileAndRelinkFunction - For the interpreter, functions are always
|
||||
|
Reference in New Issue
Block a user