Searched refs:ZEND_OP2_LITERAL (Results 1 – 6 of 6) sorted by relevance
/PHP-7.1/ext/opcache/Optimizer/ |
H A D | pass1_5.c | 102 literal_dtor(&ZEND_OP2_LITERAL(opline)); in zend_optimizer_pass1() 213 ZVAL_NEW_STR(&ZEND_OP2_LITERAL(opline), str); in zend_optimizer_pass1() 218 memcpy(ptr, Z_STRVAL(ZEND_OP2_LITERAL(opline)), Z_STRLEN(ZEND_OP2_LITERAL(opline))); in zend_optimizer_pass1() 219 ptr += Z_STRLEN(ZEND_OP2_LITERAL(opline)); in zend_optimizer_pass1() 221 ZVAL_NEW_STR(&ZEND_OP2_LITERAL(opline), str); in zend_optimizer_pass1() 226 memcpy(ptr, Z_STRVAL(ZEND_OP2_LITERAL(next_op)), Z_STRLEN(ZEND_OP2_LITERAL(next_op))); in zend_optimizer_pass1() 227 ptr += Z_STRLEN(ZEND_OP2_LITERAL(next_op)); in zend_optimizer_pass1() 228 literal_dtor(&ZEND_OP2_LITERAL(next_op)); in zend_optimizer_pass1() 264 literal_dtor(&ZEND_OP2_LITERAL(opline)); in zend_optimizer_pass1() 287 literal_dtor(&ZEND_OP2_LITERAL(opline)); in zend_optimizer_pass1() [all …]
|
H A D | pass2.c | 67 if (Z_TYPE(ZEND_OP2_LITERAL(opline)) == IS_STRING) { in zend_optimizer_pass2() 69 …if (is_numeric_string(Z_STRVAL(ZEND_OP2_LITERAL(opline)), Z_STRLEN(ZEND_OP2_LITERAL(opline)), NULL… in zend_optimizer_pass2() 70 convert_scalar_to_number(&ZEND_OP2_LITERAL(opline)); in zend_optimizer_pass2() 97 if (Z_TYPE(ZEND_OP2_LITERAL(opline)) != IS_LONG) { in zend_optimizer_pass2() 99 if (!(Z_TYPE(ZEND_OP2_LITERAL(opline)) == IS_STRING in zend_optimizer_pass2() 100 …&& !is_numeric_string(Z_STRVAL(ZEND_OP2_LITERAL(opline)), Z_STRLEN(ZEND_OP2_LITERAL(opline)), NULL… in zend_optimizer_pass2() 101 convert_to_long(&ZEND_OP2_LITERAL(opline)); in zend_optimizer_pass2() 121 if (Z_TYPE(ZEND_OP2_LITERAL(opline)) != IS_STRING) { in zend_optimizer_pass2() 122 convert_to_string(&ZEND_OP2_LITERAL(opline)); in zend_optimizer_pass2()
|
H A D | block_pass.c | 597 old_len = Z_STRLEN(ZEND_OP2_LITERAL(src)); in zend_optimize_block() 602 Z_STR(ZEND_OP2_LITERAL(src)) = tmp; in zend_optimize_block() 604 Z_STR(ZEND_OP2_LITERAL(src)) = zend_string_extend(Z_STR(ZEND_OP2_LITERAL(src)), l, 0); in zend_optimize_block() 607 …memcpy(Z_STRVAL(ZEND_OP2_LITERAL(src)) + old_len, Z_STRVAL(ZEND_OP2_LITERAL(opline)), Z_STRLEN(ZEN… in zend_optimize_block() 608 Z_STRVAL(ZEND_OP2_LITERAL(src))[l] = '\0'; in zend_optimize_block() 610 ZVAL_STR(&ZEND_OP2_LITERAL(opline), zend_new_interned_string(Z_STR(ZEND_OP2_LITERAL(src)))); in zend_optimize_block() 611 ZVAL_NULL(&ZEND_OP2_LITERAL(src)); in zend_optimize_block() 653 literal_dtor(&ZEND_OP2_LITERAL(opline)); in zend_optimize_block() 720 literal_dtor(&ZEND_OP2_LITERAL(opline)); in zend_optimize_block() 839 literal_dtor(&ZEND_OP2_LITERAL(op)); in assemble_code_blocks() [all …]
|
H A D | zend_optimizer_internal.h | 35 #define ZEND_OP2_LITERAL(opline) (op_array)->literals[(opline)->op2.constant] macro
|
H A D | optimize_func_calls.c | 195 literal_dtor(&ZEND_OP2_LITERAL(fcall)); in zend_optimize_func_calls()
|
H A D | zend_optimizer.c | 367 if (Z_TYPE(ZEND_OP2_LITERAL(opline)) == IS_STRING) { in zend_optimizer_update_op2_const() 368 zend_string_hash_val(Z_STR(ZEND_OP2_LITERAL(opline))); in zend_optimizer_update_op2_const()
|
Completed in 22 milliseconds