Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion zend_abstract_interface/hook/hook.c
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ static void zai_hook_resolve_hooks_entry(zai_hooks_entry *hooks, zend_function *
hooks->run_time_cache = ZEND_MAP_PTR(resolved->common.run_time_cache);
#endif
}
hooks->is_internal = ZEND_USER_CODE(resolved->type);
hooks->is_internal = !ZEND_USER_CODE(resolved->type);
hooks->is_generator = (resolved->common.fn_flags & ZEND_ACC_GENERATOR) != 0;
if (hooks->is_generator) {
#if ZAI_JIT_BLACKLIST_ACTIVE
Expand Down
Loading