From: Nikita Popov Date: Mon, 16 Mar 2020 14:39:02 +0000 (+0100) Subject: Slightly deduplicate code X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a0b59d085c2e155fdf7c174c380fa34da60e877;p=php Slightly deduplicate code This code is the same in both branches, extract it. --- diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc index b44b590385..fc200b3092 100644 --- a/ext/opcache/jit/zend_jit_x86.dasc +++ b/ext/opcache/jit/zend_jit_x86.dasc @@ -1379,11 +1379,8 @@ static void* dasm_labels[zend_lb_MAX]; | IF_GC_MAY_NOT_LEAK FCARG1a, eax, >4 | // gc_possible_root(Z_COUNTED_P(z)) | EXT_CALL gc_possible_root, r0 -|| if (cold && ((op_info) & ((MAY_BE_ANY|MAY_BE_UNDEF)-(MAY_BE_OBJECT|MAY_BE_RESOURCE))) != 0) { -| jmp >4 -|.code -|| } -|| } else if (cold && ((op_info) & ((MAY_BE_ANY|MAY_BE_UNDEF)-(MAY_BE_OBJECT|MAY_BE_RESOURCE))) != 0) { +|| } +|| if (cold && ((op_info) & ((MAY_BE_ANY|MAY_BE_UNDEF)-(MAY_BE_OBJECT|MAY_BE_RESOURCE))) != 0) { | jmp >4 |.code || }