summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-03-16 15:39:02 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-03-16 17:07:27 +0100
commit6a0b59d085c2e155fdf7c174c380fa34da60e877 (patch)
tree37f4bbdbadb72eb5fa0e6f0545550dc92c5d4776
parenteb7e1df2285791d47a006edb02aaf1291a28a955 (diff)
downloadphp-git-6a0b59d085c2e155fdf7c174c380fa34da60e877.tar.gz
Slightly deduplicate code
This code is the same in both branches, extract it.
-rw-r--r--ext/opcache/jit/zend_jit_x86.dasc7
1 files changed, 2 insertions, 5 deletions
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
|| }