We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 721742c commit a8cdb7dCopy full SHA for a8cdb7d
ext/opcache/jit/zend_jit.c
@@ -56,13 +56,14 @@ typedef struct zend_jit_ffi_info {
56
uint32_t info;
57
} zend_jit_ffi_info;
58
59
-static bool zend_jit_ffi_supported_type(zend_ffi_type *type) {
60
-#if defined(IR_TARGET_X86)
61
- if (ZEND_FFI_TYPE(type->kind == ZEND_FFI_TYPE_UINT64)
62
- || ZEND_FFI_TYPE(type->kind == ZEND_FFI_TYPE_SINT64)) {
63
- return false;
+static bool zend_jit_ffi_supported_type(zend_ffi_type *type)
+{
+ if (sizeof(void*) == 4) {
+ if (ZEND_FFI_TYPE(type)->kind == ZEND_FFI_TYPE_UINT64
+ || ZEND_FFI_TYPE(type)->kind == ZEND_FFI_TYPE_SINT64) {
64
+ return false;
65
+ }
66
}
-#endif
67
return true;
68
69
0 commit comments