Home
last modified time | relevance | path

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

/PHP-7.4/Zend/
H A Dzend_compile.c4803 static zend_bool should_use_jumptable(zend_ast_list *cases, zend_uchar jumptable_type) { in should_use_jumptable() argument
4810 if (jumptable_type == IS_LONG) { in should_use_jumptable()
4813 ZEND_ASSERT(jumptable_type == IS_STRING); in should_use_jumptable()
4829 zend_uchar jumptable_type; in zend_compile_switch() local
4839 jumptable_type = determine_switch_jumptable_type(cases); in zend_compile_switch()
4840 if (jumptable_type != IS_UNDEF && should_use_jumptable(cases, jumptable_type)) { in zend_compile_switch()
4849 jumptable_type == IS_LONG ? ZEND_SWITCH_LONG : ZEND_SWITCH_STRING, in zend_compile_switch()
4909 ZEND_ASSERT(Z_TYPE_P(cond_zv) == jumptable_type); in zend_compile_switch()

Completed in 28 milliseconds