[php-src] jit-arm64: Support for missed case in zend_jit_tail_handler().
| From: | Dmitry Stogov | Date: | Tue, 20 Apr 2021 15:41:49 +0000 |
| Subject: | [php-src] jit-arm64: Support for missed case in zend_jit_tail_handler(). | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-115707@lists.php.net to get a copy of this message | ||
Author: Dmitry Stogov (dstogov)
Date: 2021-04-20T18:39:44+03:00
Commit: https://github.com/php/php-src/commit/8dda21cf67909a9c4b592de64a3d6e45130e4dc0
Raw diff: https://github.com/php/php-src/commit/8dda21cf67909a9c4b592de64a3d6e45130e4dc0.diff
Support for missed case in zend_jit_tail_handler().
Fixed ext/opcache/tests/jit/ignored_opcodes.phpt
Changed paths:
M ext/opcache/jit/zend_jit_arm64.dasc
Diff:
diff --git a/ext/opcache/jit/zend_jit_arm64.dasc b/ext/opcache/jit/zend_jit_arm64.dasc
index ddb54d5fe07e..e1cbec1d03b0 100644
--- a/ext/opcache/jit/zend_jit_arm64.dasc
+++ b/ext/opcache/jit/zend_jit_arm64.dasc
@@ -2689,7 +2689,9 @@ static int zend_jit_tail_handler(dasm_State **Dst, const zend_op *opline)
} else {
const void *handler = zend_get_opcode_handler_func(opline);
- | NIY // TODO: test
+ | EXT_CALL handler, REG0
+ | ADD_HYBRID_SPAD
+ | JMP_IP TMP1
}
} else {
const void *handler = opline->handler;