Skip to content

Commit 7c69831

Browse files
committed
optimizer: minXOR and maxXOR are unused
1 parent cd22463 commit 7c69831

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Zend/Optimizer/zend_inference.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -637,16 +637,6 @@ static zend_ulong maxAND(zend_ulong a, zend_ulong b, zend_ulong c, zend_ulong d)
637637
return b & d;
638638
}
639639

640-
static zend_ulong minXOR(zend_ulong a, zend_ulong b, zend_ulong c, zend_ulong d)
641-
{
642-
return minAND(a, b, ~d, ~c) | minAND(~b, ~a, c, d);
643-
}
644-
645-
static zend_ulong maxXOR(zend_ulong a, zend_ulong b, zend_ulong c, zend_ulong d)
646-
{
647-
return maxOR(0, maxAND(a, b, ~d, ~c), 0, maxAND(~b, ~a, c, d));
648-
}
649-
650640
/* Based on "Hacker's Delight" */
651641

652642
/*

0 commit comments

Comments
 (0)