diff options
| author | Stefan Monnier | 2017-02-18 22:37:05 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2017-02-18 22:37:05 -0500 |
| commit | fe927ecfe45f66ec58d9e7cab6f2526fc87a6803 (patch) | |
| tree | 2bf00f13cb623dcdebda530dfcef75af69a4a13a /src/profiler.c | |
| parent | b2a83eed23d540b4b0ab9e0bf5605821011bfd7d (diff) | |
| download | emacs-fe927ecfe45f66ec58d9e7cab6f2526fc87a6803.tar.gz emacs-fe927ecfe45f66ec58d9e7cab6f2526fc87a6803.zip | |
Change type of `rehash_threshold' and `pure' fields in hash-tables
* src/lisp.h (struct Lisp_Hash_Table): Change type of
`rehash_threshold' and `pure' fields and move them after `count'.
* src/fns.c (make_hash_table): Change type of `rehash_threshold' and `pure'.
(Fmake_hash_table, Fhash_table_rehash_threshold):
* src/category.c (hash_get_category_set):
* src/xterm.c (syms_of_xterm):
* src/profiler.c (make_log):
* src/print.c (print_object):
* src/alloc.c (purecopy_hash_table, purecopy): Adjust accordingly.
Diffstat (limited to 'src/profiler.c')
| -rw-r--r-- | src/profiler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profiler.c b/src/profiler.c index a223a7e7c07..edc28fc8427 100644 --- a/src/profiler.c +++ b/src/profiler.c | |||
| @@ -47,8 +47,8 @@ make_log (EMACS_INT heap_size, EMACS_INT max_stack_depth) | |||
| 47 | Lisp_Object log = make_hash_table (hashtest_profiler, | 47 | Lisp_Object log = make_hash_table (hashtest_profiler, |
| 48 | make_number (heap_size), | 48 | make_number (heap_size), |
| 49 | make_float (DEFAULT_REHASH_SIZE), | 49 | make_float (DEFAULT_REHASH_SIZE), |
| 50 | make_float (DEFAULT_REHASH_THRESHOLD), | 50 | DEFAULT_REHASH_THRESHOLD, |
| 51 | Qnil, Qnil); | 51 | Qnil, false); |
| 52 | struct Lisp_Hash_Table *h = XHASH_TABLE (log); | 52 | struct Lisp_Hash_Table *h = XHASH_TABLE (log); |
| 53 | 53 | ||
| 54 | /* What is special about our hash-tables is that the keys are pre-filled | 54 | /* What is special about our hash-tables is that the keys are pre-filled |