Skip to content

Commit

Permalink
Remove ZEND_HOT
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoisin committed Jun 25, 2023
1 parent a3db93c commit 709d850
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sp_execute.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))) {
Expand Down
2 changes: 1 addition & 1 deletion src/sp_pcre_compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 709d850

Please sign in to comment.