Skip to content

Commit 969cafb

Browse files
committed
fixup! Activate NewPM support
1 parent 1d9e2e7 commit 969cafb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/codegen.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9147,7 +9147,9 @@ extern "C" JL_DLLEXPORT void jl_init_codegen_impl(void)
91479147
extern "C" JL_DLLEXPORT void jl_teardown_codegen_impl() JL_NOTSAFEPOINT
91489148
{
91499149
// output LLVM timings and statistics
9150-
jl_ExecutionEngine->printTimers();
9150+
// Guard against exits before we have initialized the ExecutionEngine
9151+
if (jl_ExecutionEngine)
9152+
jl_ExecutionEngine->printTimers();
91519153
PrintStatistics();
91529154
}
91539155

0 commit comments

Comments
 (0)