diff options
| author | Daniel Colascione | 2019-01-16 20:26:19 -0500 |
|---|---|---|
| committer | Daniel Colascione | 2019-01-16 20:26:19 -0500 |
| commit | 191a5568db35f3a56f26431ca4722175d38c684f (patch) | |
| tree | 982f88df4a7123afc6ee5502420f88ae6df1f11e /src/alloc.c | |
| parent | 27f53bd6886c1a76ac7058ae7b90cacc317aadea (diff) | |
| download | emacs-191a5568db35f3a56f26431ca4722175d38c684f.tar.gz emacs-191a5568db35f3a56f26431ca4722175d38c684f.zip | |
Fix segfault in profiler after pdump load
Move initialization of the profiler's hash test to static
initialization from the syms function so that pdumper doesn't need to
bother capturing it in any special way.
* src/profiler.c (cmpfn_profiler, hashfn_profiler):
forward declare.
(hashtest_profiler): statically initialize.
(syms_of_profiler): remove dynamic initialization of
hashtest_profiler.
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions