[php-src] PR #12688: JIT/AArch64: Remove redundant memory unmap
| From: | pfustc | Date: | Thu, 16 Nov 2023 08:38:57 +0000 |
| Subject: | [php-src] PR #12688: JIT/AArch64: Remove redundant memory unmap | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24196@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12688
Author: pfustc
The AArch64 version of function
ir_emit_code() does an extra memory unmap if DynASM
status is not OK. This causes GCC warnings of variables entry and size are
used uninitialized. Actually, the memory unmap here is redundant because the JIT code buffer has
never been mmapped at this point.
This patch removes the redundant memory unmap to avoid potential issues.