Commit 8ca414de authored by Glenn Morris's avatar Glenn Morris
Browse files

Fix --enable-profiling builds (bug#34099)

* src/profiler.c (syms_of_profiler_for_pdumper):
Only set cpu_log if CPU profiling is enabled.
parent 0aece3e1
Pipeline #550 failed with stage
in 48 minutes and 37 seconds
......@@ -627,12 +627,16 @@ syms_of_profiler_for_pdumper (void)
{
if (dumped_with_pdumper_p ())
{
#ifdef PROFILER_CPU_SUPPORT
cpu_log = Qnil;
#endif
memory_log = Qnil;
}
else
{
#ifdef PROFILER_CPU_SUPPORT
eassert (NILP (cpu_log));
#endif
eassert (NILP (memory_log));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment