Lines Matching refs:ZEND_OP2_LITERAL
110 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in get_const_switch_target()
412 literal_dtor(&ZEND_OP2_LITERAL(opline)); in zend_optimize_block()
458 (Z_TYPE(ZEND_OP2_LITERAL(opline)) == IS_FALSE || in zend_optimize_block()
459 Z_TYPE(ZEND_OP2_LITERAL(opline)) == IS_TRUE)) { in zend_optimize_block()
464 ((opline->opcode != ZEND_IS_NOT_EQUAL) == ((Z_TYPE(ZEND_OP2_LITERAL(opline))) == IS_TRUE)) ? in zend_optimize_block()
698 if (Z_TYPE(ZEND_OP2_LITERAL(opline)) != IS_STRING) { in zend_optimize_block()
699 convert_to_string(&ZEND_OP2_LITERAL(opline)); in zend_optimize_block()
701 if (Z_TYPE(ZEND_OP2_LITERAL(src)) != IS_STRING) { in zend_optimize_block()
702 convert_to_string(&ZEND_OP2_LITERAL(src)); in zend_optimize_block()
707 old_len = Z_STRLEN(ZEND_OP2_LITERAL(src)); in zend_optimize_block()
708 l = old_len + Z_STRLEN(ZEND_OP2_LITERAL(opline)); in zend_optimize_block()
709 if (!Z_REFCOUNTED(ZEND_OP2_LITERAL(src))) { in zend_optimize_block()
711 memcpy(ZSTR_VAL(tmp), Z_STRVAL(ZEND_OP2_LITERAL(src)), old_len); in zend_optimize_block()
712 Z_STR(ZEND_OP2_LITERAL(src)) = tmp; in zend_optimize_block()
714 Z_STR(ZEND_OP2_LITERAL(src)) = zend_string_extend(Z_STR(ZEND_OP2_LITERAL(src)), l, 0); in zend_optimize_block()
716 Z_TYPE_INFO(ZEND_OP2_LITERAL(src)) = IS_STRING_EX; in zend_optimize_block()
717 …memcpy(Z_STRVAL(ZEND_OP2_LITERAL(src)) + old_len, Z_STRVAL(ZEND_OP2_LITERAL(opline)), Z_STRLEN(ZEN… in zend_optimize_block()
718 Z_STRVAL(ZEND_OP2_LITERAL(src))[l] = '\0'; in zend_optimize_block()
719 zval_ptr_dtor_str(&ZEND_OP2_LITERAL(opline)); in zend_optimize_block()
720 ZVAL_STR(&ZEND_OP2_LITERAL(opline), zend_new_interned_string(Z_STR(ZEND_OP2_LITERAL(src)))); in zend_optimize_block()
721 ZVAL_NULL(&ZEND_OP2_LITERAL(src)); in zend_optimize_block()
766 Z_TYPE(ZEND_OP2_LITERAL(opline)) == IS_STRING && in zend_optimize_block()
767 Z_STRLEN(ZEND_OP2_LITERAL(opline)) == 0) { in zend_optimize_block()
769 literal_dtor(&ZEND_OP2_LITERAL(opline)); in zend_optimize_block()
816 …eval_binary_op(&result, opline->opcode, &ZEND_OP1_LITERAL(opline), &ZEND_OP2_LITERAL(opline)) == S… in zend_optimize_block()
818 literal_dtor(&ZEND_OP2_LITERAL(opline)); in zend_optimize_block()
976 literal_dtor(&ZEND_OP2_LITERAL(op)); in assemble_code_blocks()
1035 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in assemble_code_blocks()
1640 literal_dtor(&ZEND_OP2_LITERAL(op)); in zend_merge_blocks()