Home
last modified time | relevance | path

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

/php-src/Zend/
H A Dzend_compile.c6222 static bool should_use_jumptable(zend_ast_list *cases, uint8_t jumptable_type) { in should_use_jumptable() argument
6229 if (jumptable_type == IS_LONG) { in should_use_jumptable()
6232 ZEND_ASSERT(jumptable_type == IS_STRING); in should_use_jumptable()
6248 uint8_t jumptable_type; in zend_compile_switch() local
6258 jumptable_type = determine_switch_jumptable_type(cases); in zend_compile_switch()
6259 if (jumptable_type != IS_UNDEF && should_use_jumptable(cases, jumptable_type)) { in zend_compile_switch()
6268 jumptable_type == IS_LONG ? ZEND_SWITCH_LONG : ZEND_SWITCH_STRING, in zend_compile_switch()
6328 ZEND_ASSERT(Z_TYPE_P(cond_zv) == jumptable_type); in zend_compile_switch()

Completed in 34 milliseconds