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 65ada39 commit 199eb2bCopy full SHA for 199eb2b
ext/opcache/ZendAccelerator.c
@@ -1289,6 +1289,10 @@ static zend_persistent_script *store_script_in_file_cache(zend_persistent_script
1289
/* Align to 64-byte boundary */
1290
ZCG(mem) = zend_arena_alloc(&CG(arena), memory_used + 64);
1291
ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 63L) & ~63L);
1292
+#elif ZEND_MM_ALIGNMENT < 8
1293
+ /* Align to 8-byte boundary */
1294
+ ZCG(mem) = zend_arena_alloc(&CG(arena), memory_used + 8);
1295
+ ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 7L) & ~7L);
1296
#else
1297
ZCG(mem) = zend_arena_alloc(&CG(arena), memory_used);
1298
#endif
0 commit comments