mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Remove spurious const qualifier from function return type
This commit is contained in:
parent
53e527ad43
commit
d4de3f95d6
2 changed files with 2 additions and 2 deletions
|
@ -59485,7 +59485,7 @@ ZEND_API int zend_vm_kind(void)
|
|||
return ZEND_VM_KIND;
|
||||
}
|
||||
|
||||
static const uint32_t ZEND_FASTCALL zend_vm_get_opcode_handler_idx(uint32_t spec, const zend_op* op)
|
||||
static uint32_t ZEND_FASTCALL zend_vm_get_opcode_handler_idx(uint32_t spec, const zend_op* op)
|
||||
{
|
||||
static const int zend_vm_decode[] = {
|
||||
_UNUSED_CODE, /* 0 = IS_UNUSED */
|
||||
|
|
|
@ -2696,7 +2696,7 @@ function gen_vm($def, $skel) {
|
|||
out($f, "\n");
|
||||
|
||||
// Generate zend_vm_get_opcode_handler() function
|
||||
out($f, "static const uint32_t ZEND_FASTCALL zend_vm_get_opcode_handler_idx(uint32_t spec, const zend_op* op)\n");
|
||||
out($f, "static uint32_t ZEND_FASTCALL zend_vm_get_opcode_handler_idx(uint32_t spec, const zend_op* op)\n");
|
||||
out($f, "{\n");
|
||||
if (!ZEND_VM_SPEC) {
|
||||
out($f, "\treturn spec;\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue