We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 807d6c0 commit ca15956Copy full SHA for ca15956
ext/opcache/jit/zend_jit_x86.dasc
@@ -1612,16 +1612,12 @@ static zend_bool is_power_of_two(uint32_t x)
1612
1613
static zend_bool has_concrete_type(uint32_t value_type)
1614
{
1615
- if (value_type & MAY_BE_UNDEF) {
1616
- value_type |= MAY_BE_NULL;
1617
- }
1618
- value_type &= MAY_BE_ANY;
1619
- return is_power_of_two (value_type);
+ return is_power_of_two (value_type & (MAY_BE_ANY|MAY_BE_UNDEF));
1620
}
1621
1622
static uint32_t concrete_type(uint32_t value_type)
1623
1624
- return floor_log2(value_type & MAY_BE_ANY);
+ return floor_log2(value_type & (MAY_BE_ANY|MAY_BE_UNDEF));
1625
1626
1627
static inline zend_bool is_signed(double d)
0 commit comments