1
Fork 0
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:
Richard Brooksby 2014-02-24 22:27:16 +00:00
parent dc38189d5c
commit a28fda3fc5

View file

@ -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);