]> granicus.if.org Git - php/commitdiff
Remove unnecessary cast
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 16 Mar 2020 11:01:50 +0000 (12:01 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 16 Mar 2020 11:24:40 +0000 (12:24 +0100)
ext/opcache/jit/zend_jit_trace.c

index abc2a0146df7a9bffb689a85ad487b30c19c58ea..ec20e148e9a5e51a9802c81ed96ce527bb155ccd 100644 (file)
@@ -413,7 +413,7 @@ static zend_ssa *zend_jit_trace_build_ssa(const zend_op_array *op_array, zend_sc
                                if (zend_analyze_calls(&CG(arena), script, ZEND_CALL_TREE, (zend_op_array*)op_array, &jit_extension->func_info) != SUCCESS) {
                                        break;
                                }
-                               jit_extension->func_info.call_map = zend_build_call_map(&CG(arena), &jit_extension->func_info, (zend_op_array*)op_array);
+                               jit_extension->func_info.call_map = zend_build_call_map(&CG(arena), &jit_extension->func_info, op_array);
                                if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) {
                                        zend_init_func_return_info(op_array, script, &jit_extension->func_info.return_info);
                                }