diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/profiler.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/profiler.c b/src/profiler.c index a98d967b2a1..15a0eef0d3e 100644 --- a/src/profiler.c +++ b/src/profiler.c | |||
| @@ -627,12 +627,16 @@ syms_of_profiler_for_pdumper (void) | |||
| 627 | { | 627 | { |
| 628 | if (dumped_with_pdumper_p ()) | 628 | if (dumped_with_pdumper_p ()) |
| 629 | { | 629 | { |
| 630 | #ifdef PROFILER_CPU_SUPPORT | ||
| 630 | cpu_log = Qnil; | 631 | cpu_log = Qnil; |
| 632 | #endif | ||
| 631 | memory_log = Qnil; | 633 | memory_log = Qnil; |
| 632 | } | 634 | } |
| 633 | else | 635 | else |
| 634 | { | 636 | { |
| 637 | #ifdef PROFILER_CPU_SUPPORT | ||
| 635 | eassert (NILP (cpu_log)); | 638 | eassert (NILP (cpu_log)); |
| 639 | #endif | ||
| 636 | eassert (NILP (memory_log)); | 640 | eassert (NILP (memory_log)); |
| 637 | } | 641 | } |
| 638 | 642 | ||