diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-10-11 11:17:44 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-10-11 11:17:44 -0400 |
commit | 12836db6e4e09378d41301b3d4e1fcff58132d3a (patch) | |
tree | 0a49a20b0ca6cfa602571620aa2e1970f42328ee /test/lisp/emacs-lisp/float-sup-tests.el | |
parent | da0387f0fe79f577fae6d5453c758f600e1ae495 (diff) | |
download | emacs-12836db6e4e09378d41301b3d4e1fcff58132d3a.tar.gz emacs-12836db6e4e09378d41301b3d4e1fcff58132d3a.tar.bz2 emacs-12836db6e4e09378d41301b3d4e1fcff58132d3a.zip |
itree.c (check_tree): Simplify
* src/itree.c (struct check_subtree_result): Remove `complete`.
(check_subtree): Remove `max_depth` arg (and adjust callers).
Use 0 as black-depth of empty tree.
Remove redundant `node->parent` check (already performed by the caller).
(check_tree): Replace with `check_tree_common` (update all callers).
Check the root's `parent` field.
(check_tree_no_rb): Delete function, inlined in its sole caller.
(interval_tree_remove): Add call to `check_tree` (without RB checks)
before `interval_tree_remove_fix`. Move update of `size`
field accordingly.
Diffstat (limited to 'test/lisp/emacs-lisp/float-sup-tests.el')
0 files changed, 0 insertions, 0 deletions