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.
2 parents 53b0f4b + 199eb2b commit a0749feCopy full SHA for a0749fe
ext/opcache/ZendAccelerator.c
@@ -1383,6 +1383,10 @@ static zend_persistent_script *store_script_in_file_cache(zend_persistent_script
1383
/* Align to 64-byte boundary */
1384
ZCG(mem) = zend_arena_alloc(&CG(arena), memory_used + 64);
1385
ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 63L) & ~63L);
1386
+#elif ZEND_MM_ALIGNMENT < 8
1387
+ /* Align to 8-byte boundary */
1388
+ ZCG(mem) = zend_arena_alloc(&CG(arena), memory_used + 8);
1389
+ ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 7L) & ~7L);
1390
#else
1391
ZCG(mem) = zend_arena_alloc(&CG(arena), memory_used);
1392
#endif
0 commit comments