Skip to content

Commit e9b47df

Browse files
committed
Fixed 32-bit JIT
1 parent 0990424 commit e9b47df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Zend/zend_execute.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ static zend_never_inline ZEND_COLD bool zend_wrong_assign_to_variable_reference(
583583
return 1;
584584
}
585585

586-
ZEND_API ZEND_COLD void zend_cannot_pass_by_reference(uint32_t arg_num)
586+
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_cannot_pass_by_reference(uint32_t arg_num)
587587
{
588588
const zend_execute_data *execute_data = EG(current_execute_data);
589589
zend_string *func_name = get_function_or_method_name(EX(call)->func);

Zend/zend_execute.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ ZEND_API zend_string *zend_get_executed_filename_ex(void);
318318
ZEND_API uint32_t zend_get_executed_lineno(void);
319319
ZEND_API zend_class_entry *zend_get_executed_scope(void);
320320
ZEND_API zend_bool zend_is_executing(void);
321-
ZEND_API ZEND_COLD void zend_cannot_pass_by_reference(uint32_t arg_num);
321+
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_cannot_pass_by_reference(uint32_t arg_num);
322322

323323
ZEND_API void zend_set_timeout(zend_long seconds, bool reset_signals);
324324
ZEND_API void zend_unset_timeout(void);

0 commit comments

Comments
 (0)