Home
last modified time | relevance | path

Searched refs:jumptable_type (Results 1 – 1 of 1) sorted by relevance

/PHP-8.4/Zend/
H A Dzend_compile.c6226 static bool should_use_jumptable(zend_ast_list *cases, uint8_t jumptable_type) { in should_use_jumptable() argument
6233 if (jumptable_type == IS_LONG) { in should_use_jumptable()
6236 ZEND_ASSERT(jumptable_type == IS_STRING); in should_use_jumptable()
6252 uint8_t jumptable_type; in zend_compile_switch() local
6262 jumptable_type = determine_switch_jumptable_type(cases); in zend_compile_switch()
6263 if (jumptable_type != IS_UNDEF && should_use_jumptable(cases, jumptable_type)) { in zend_compile_switch()
6272 jumptable_type == IS_LONG ? ZEND_SWITCH_LONG : ZEND_SWITCH_STRING, in zend_compile_switch()
6332 ZEND_ASSERT(Z_TYPE_P(cond_zv) == jumptable_type); in zend_compile_switch()

Completed in 33 milliseconds