change COUNT_LIMIT to ICOUNT_LIMIT

This commit is contained in:
Stanislaw Kaushanski 2024-07-04 10:46:24 +02:00
parent 48370a4555
commit d4ec131fa7
2 changed files with 3 additions and 3 deletions

View File

@ -269,7 +269,7 @@ vm_impl<ARCH>::vm_impl(ARCH &core, unsigned core_id, unsigned cluster_id)
} }
inline bool is_count_limit_enabled(finish_cond_e cond){ inline bool is_count_limit_enabled(finish_cond_e cond){
return (cond & finish_cond_e::COUNT_LIMIT) == finish_cond_e::COUNT_LIMIT; return (cond & finish_cond_e::ICOUNT_LIMIT) == finish_cond_e::ICOUNT_LIMIT;
} }
inline bool is_jump_to_self_enabled(finish_cond_e cond){ inline bool is_jump_to_self_enabled(finish_cond_e cond){

View File

@ -349,7 +349,7 @@ vm_impl<ARCH>::vm_impl(ARCH &core, unsigned core_id, unsigned cluster_id)
} }
inline bool is_count_limit_enabled(finish_cond_e cond){ inline bool is_count_limit_enabled(finish_cond_e cond){
return (cond & finish_cond_e::COUNT_LIMIT) == finish_cond_e::COUNT_LIMIT; return (cond & finish_cond_e::ICOUNT_LIMIT) == finish_cond_e::ICOUNT_LIMIT;
} }
inline bool is_jump_to_self_enabled(finish_cond_e cond){ inline bool is_jump_to_self_enabled(finish_cond_e cond){
@ -2718,4 +2718,4 @@ volatile std::array<bool, 2> dummy = {
}; };
} }
} }
// clang-format on // clang-format on