mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 06:20:43 -08:00
Making assertions in cbsupdatenode critical, since this is extremely hot in any cbs with fast find.
Copied from Perforce Change: 184492 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
dc38189d5c
commit
a28fda3fc5
1 changed files with 3 additions and 3 deletions
|
|
@ -165,9 +165,9 @@ static void cbsUpdateNode(SplayTree tree, Tree node)
|
|||
Size maxSize;
|
||||
CBSBlock block;
|
||||
|
||||
AVERT(SplayTree, tree);
|
||||
AVERT(Tree, node);
|
||||
AVER(cbsOfTree(tree)->fastFind);
|
||||
AVERT_CRITICAL(SplayTree, tree);
|
||||
AVERT_CRITICAL(Tree, node);
|
||||
AVER_CRITICAL(cbsOfTree(tree)->fastFind);
|
||||
|
||||
block = cbsBlockOfNode(node);
|
||||
maxSize = CBSBlockSize(block);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue