From 709d850429d0d62b148bc235745c830c2f7a55be Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sun, 25 Jun 2023 14:25:46 +0200 Subject: [PATCH] Remove ZEND_HOT --- src/sp_execute.c | 2 +- src/sp_pcre_compat.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sp_execute.c b/src/sp_execute.c index 6e80b6df..f105b7f9 100644 --- a/src/sp_execute.c +++ b/src/sp_execute.c @@ -89,7 +89,7 @@ inline static void is_builtin_matching( should_disable_ht(EG(current_execute_data), function_name, param_value, param_name, SPCFG(disabled_functions_reg).disabled_functions, ht); } -static void ZEND_HOT is_in_eval_and_whitelisted(zend_execute_data const* const execute_data) { +static void is_in_eval_and_whitelisted(zend_execute_data const* const execute_data) { sp_config_eval const* const config_eval = &(SPCFG(eval)); if (EXPECTED(0 == SPG(in_eval))) { diff --git a/src/sp_pcre_compat.c b/src/sp_pcre_compat.c index 81c51fdc..3658692e 100644 --- a/src/sp_pcre_compat.c +++ b/src/sp_pcre_compat.c @@ -23,7 +23,7 @@ sp_pcre* sp_pcre_compile(const char* const pattern) { return ret; } -bool ZEND_HOT sp_is_regexp_matching_len(const sp_pcre* regexp, const char* str, size_t len) { +bool sp_is_regexp_matching_len(const sp_pcre* regexp, const char* str, size_t len) { int ret = 0; assert(NULL != regexp);