* would sit on different branches).
*/
- // note that if EB_NODE_BITS > 1, we should check that it's still >= 0
- new->node.bit = flsnz(new->key ^ old->key) - EB_NODE_BITS;
-
if (new->key == old->key) {
new->node.bit = -1; /* mark as new dup tree, just in case */
}
/* otherwise fall through */
}
+ else {
+ /* note that if EB_NODE_BITS > 1, we should check that it's still >= 0 */
+ new->node.bit = flsnz(new->key ^ old->key) - EB_NODE_BITS;
+ }
if (new->key >= old->key) {
new->node.branches.b[EB_LEFT] = troot;
* would sit on different branches).
*/
- // note that if EB_NODE_BITS > 1, we should check that it's still >= 0
- new->node.bit = flsnz(new->key ^ old->key) - EB_NODE_BITS;
-
if (new->key == old->key) {
new->node.bit = -1; /* mark as new dup tree, just in case */
}
/* otherwise fall through */
}
+ else {
+ /* note that if EB_NODE_BITS > 1, we should check that it's still >= 0 */
+ new->node.bit = flsnz(new->key ^ old->key) - EB_NODE_BITS;
+ }
if ((s32)new->key >= (s32)old->key) {
new->node.branches.b[EB_LEFT] = troot;