[php-src] PR #12871: JIT/AArch64: Fix incorrect value of "ctx->code_size"
| From: | pfustc | Date: | Tue, 05 Dec 2023 09:08:19 +0000 |
| Subject: | [php-src] PR #12871: JIT/AArch64: Fix incorrect value of "ctx->code_size" | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24419@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12871
Author: pfustc
There is a typo in
ir_aarch64.dasc that may set ctx->code_size to an
invalid value (-2). We don't find any test failure with the typo because currently
ctx->code_size is only used in zend_jit_get_veneer(). This patch fixes
the typo to avoid potential issues in the future.