Skip to content

Commit

Permalink
fixup! Activate NewPM support
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed May 4, 2023
1 parent 1d9e2e7 commit 969cafb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/codegen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9147,7 +9147,9 @@ extern "C" JL_DLLEXPORT void jl_init_codegen_impl(void)
extern "C" JL_DLLEXPORT void jl_teardown_codegen_impl() JL_NOTSAFEPOINT
{
// output LLVM timings and statistics
jl_ExecutionEngine->printTimers();
// Guard against exits before we have initialized the ExecutionEngine
if (jl_ExecutionEngine)
jl_ExecutionEngine->printTimers();
PrintStatistics();
}

Expand Down

0 comments on commit 969cafb

Please sign in to comment.