summaryrefslogtreecommitdiff
path: root/ext/opcache
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2020-02-11 17:30:49 +0300
committerDmitry Stogov <dmitry@zend.com>2020-02-11 17:30:49 +0300
commitb79af3d4df17f611957f389b99acddbe1adf5b1b (patch)
tree4e7251c7ce4673d4485c815cd7dedd8c56be5627 /ext/opcache
parent437404b03a7f5d240b90dd9411f31a37f1503604 (diff)
downloadphp-git-b79af3d4df17f611957f389b99acddbe1adf5b1b.tar.gz
Removed unused macro
Diffstat (limited to 'ext/opcache')
-rw-r--r--ext/opcache/jit/zend_jit_x86.dasc34
1 files changed, 0 insertions, 34 deletions
diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc
index a3bd4a36d6..75c9b510fe 100644
--- a/ext/opcache/jit/zend_jit_x86.dasc
+++ b/ext/opcache/jit/zend_jit_x86.dasc
@@ -1395,40 +1395,6 @@ static void* dasm_labels[zend_lb_MAX];
|| }
|.endmacro
-|.macro SEPARATE_ZVAL_NOREF, addr, op_info, cold
-|| if ((op_info & MAY_BE_ARRAY) && RC_MAY_BE_N(op_info)) {
-|| if (cold) {
-| IF_ZVAL_TYPE addr, IS_ARRAY, >1
-|.cold_code
-|1:
-|| } else {
-| IF_NOT_ZVAL_TYPE addr, IS_ARRAY, >2
-|| }
-| GET_ZVAL_PTR r0, addr
-|| if (RC_MAY_BE_1(op_info)) {
-| cmp dword [r0], 1 // if (GC_REFCOUNTED() > 1)
-| jbe >2
-|| }
-| IF_NOT_ZVAL_REFCOUNTED addr, >1
-| GC_DELREF r0
-|1:
-|| if (Z_REG(addr) == ZREG_FCARG1a) {
-| mov aword T1, FCARG1a // save
-|| } else {
-| LOAD_ZVAL_ADDR FCARG1a, addr
-|| }
-| EXT_CALL zval_copy_ctor_func, r0
-|| if (Z_REG(addr) == ZREG_FCARG1a) {
-| mov FCARG1a, aword T1 // restore
-|| }
-|| if (cold) {
-| jmp >2
-|.code
-|| }
-|2:
-|| }
-|.endmacro
-
|.macro SEPARATE_ARRAY, addr, op_info, cold
|| if (RC_MAY_BE_N(op_info)) {
|| zend_reg tmp_reg;