Lines Matching refs:literals

94 	zval *class_name = &op_array->literals[op1];  in add_static_slot()
95 zval *prop_name = &op_array->literals[op2]; in add_static_slot()
301 if (Z_EXTRA(op_array->literals[opline->op2.constant]) == ZEND_EXTRA_VALUE) { in zend_optimizer_compact_literals()
327 zend_string *str = zval_get_string(op_array->literals + i); in zend_optimizer_compact_literals()
345 zval_ptr_dtor_nogc(&op_array->literals[i]); in zend_optimizer_compact_literals()
348 switch (Z_TYPE(op_array->literals[i])) { in zend_optimizer_compact_literals()
353 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals()
364 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals()
375 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals()
384 if ((pos = zend_hash_index_find(&hash, Z_LVAL(op_array->literals[i]))) != NULL) { in zend_optimizer_compact_literals()
389 zend_hash_index_add_new(&hash, Z_LVAL(op_array->literals[i]), &zv); in zend_optimizer_compact_literals()
391 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals()
398 … key = zend_string_init(Z_STRVAL(op_array->literals[i+1]), Z_STRLEN(op_array->literals[i+1]), 0); in zend_optimizer_compact_literals()
399 ZSTR_H(key) = ZSTR_HASH(Z_STR(op_array->literals[i+1])) + 100 + in zend_optimizer_compact_literals()
404 zval_ptr_dtor_nogc(&op_array->literals[i+1]); in zend_optimizer_compact_literals()
410 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals()
412 op_array->literals[j+1] = op_array->literals[i+1]; in zend_optimizer_compact_literals()
422 …if ((pos = zend_hash_str_find(&double_hash, (char*)&Z_DVAL(op_array->literals[i]), sizeof(double))… in zend_optimizer_compact_literals()
427 … zend_hash_str_add_new(&double_hash, (char*)&Z_DVAL(op_array->literals[i]), sizeof(double), &zv); in zend_optimizer_compact_literals()
429 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals()
436 key = create_str_cache_key(&op_array->literals[i], info[i].flags); in zend_optimizer_compact_literals()
438 Z_TYPE(op_array->literals[Z_LVAL_P(pos)]) == IS_STRING && in zend_optimizer_compact_literals()
445 zval_ptr_dtor_nogc(&op_array->literals[i]); in zend_optimizer_compact_literals()
449 zval_ptr_dtor_nogc(&op_array->literals[i]); in zend_optimizer_compact_literals()
460 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals()
467 if (i != j) op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals()
475 if (zend_hash_num_elements(Z_ARRVAL(op_array->literals[i])) == 0) { in zend_optimizer_compact_literals()
479 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals()
484 zval_ptr_dtor_nogc(&op_array->literals[i]); in zend_optimizer_compact_literals()
494 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals()
826 zval *val = &op_array->literals[opline->op2.constant]; in zend_optimizer_compact_literals()
846 zend_string *str = zval_get_string(op_array->literals + i); in zend_optimizer_compact_literals()