Skip to content

Commit 5d3e48f

Browse files
committed
remove 2 more inlines from funcs that don't inline
1 parent 9d5dc4b commit 5d3e48f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Zend/Optimizer/zend_inference.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ static inline zend_long safe_shift_left(zend_long n, zend_long s) {
761761
return (zend_long) ((zend_ulong) n << (zend_ulong) s);
762762
}
763763

764-
static inline bool shift_left_overflows(zend_long n, zend_long s) {
764+
static bool shift_left_overflows(zend_long n, zend_long s) {
765765
/* This considers shifts that shift in the sign bit to be overflowing as well */
766766
if (n >= 0) {
767767
return s >= SIZEOF_ZEND_LONG * 8 - 1 || safe_shift_left(n, s) < n;

Zend/zend_generators.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ static zend_always_inline void clear_link_to_root(zend_generator *generator) {
214214

215215
/* In the context of zend_generator_dtor_storage during shutdown, check if
216216
* the intermediate node 'generator' is running in a fiber */
217-
static inline bool check_node_running_in_fiber(zend_generator *generator) {
217+
static bool check_node_running_in_fiber(zend_generator *generator) {
218218
ZEND_ASSERT(EG(flags) & EG_FLAGS_IN_SHUTDOWN);
219219
ZEND_ASSERT(generator->execute_data);
220220

0 commit comments

Comments
 (0)