File tree 2 files changed +2
-29
lines changed 2 files changed +2
-29
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2428,21 +2428,9 @@ static zend_always_inline zend_generator *zend_get_running_generator(zend_execut
2428
2428
# define ZEND_VM_SMART_BRANCH (_result , _check ) do { \
2429
2429
int __result; \
2430
2430
if (EXPECTED((opline+1)->opcode == ZEND_JMPZ)) { \
2431
- if (UNEXPECTED((opline+1)->op1_type == IS_CONST)) { \
2432
- zend_uchar __type = Z_TYPE_P(EX_CONSTANT((opline+1)->op1)); \
2433
- ZEND_ASSERT(__type == IS_TRUE || __type == IS_FALSE); /* assume boolean */ \
2434
- __result = __type == IS_TRUE ; \
2435
- } else { \
2436
- __result = (_result ); \
2437
- } \
2431
+ __result = (_result); \
2438
2432
} else if (EXPECTED((opline+1)->opcode == ZEND_JMPNZ)) { \
2439
- if (UNEXPECTED ((opline + 1 )-> op1_type == IS_CONST )) { \
2440
- zend_uchar __type = Z_TYPE_P (EX_CONSTANT ((opline + 1 )-> op1 )); \
2441
- ZEND_ASSERT (__type == IS_TRUE || __type == IS_FALSE ); /* assume boolean */ \
2442
- __result = __type != IS_TRUE ; \
2443
- } else { \
2444
- __result = !(_result ); \
2445
- } \
2433
+ __result = !(_result); \
2446
2434
} else { \
2447
2435
break; \
2448
2436
} \
You can’t perform that action at this time.
0 commit comments