diff options
-rw-r--r-- | llvm/tools/llvm-jitlink/llvm-jitlink.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/tools/llvm-jitlink/llvm-jitlink.cpp b/llvm/tools/llvm-jitlink/llvm-jitlink.cpp index 3b8def4..00dd520 100644 --- a/llvm/tools/llvm-jitlink/llvm-jitlink.cpp +++ b/llvm/tools/llvm-jitlink/llvm-jitlink.cpp @@ -2038,11 +2038,8 @@ int main(int argc, char *argv[]) { ExitOnErr(runChecks(*S)); - if (NoExec) - return 0; - int Result = 0; - { + if (!NoExec) { LLVM_DEBUG(dbgs() << "Running \"" << EntryPointName << "\"...\n"); TimeRegion TR(Timers ? &Timers->RunTimer : nullptr); if (!OrcRuntime.empty()) |