From d4ec131fa719e837e1b2b95d2ef23890cba0be12 Mon Sep 17 00:00:00 2001 From: stas Date: Thu, 4 Jul 2024 10:46:24 +0200 Subject: [PATCH] change COUNT_LIMIT to ICOUNT_LIMIT --- gen_input/templates/interp/CORENAME.cpp.gtl | 2 +- src/vm/interp/vm_tgc5c.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gen_input/templates/interp/CORENAME.cpp.gtl b/gen_input/templates/interp/CORENAME.cpp.gtl index 373eb55..da349ba 100644 --- a/gen_input/templates/interp/CORENAME.cpp.gtl +++ b/gen_input/templates/interp/CORENAME.cpp.gtl @@ -269,7 +269,7 @@ vm_impl::vm_impl(ARCH &core, unsigned core_id, unsigned cluster_id) } 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){ diff --git a/src/vm/interp/vm_tgc5c.cpp b/src/vm/interp/vm_tgc5c.cpp index 9b6fcb9..0411fd2 100644 --- a/src/vm/interp/vm_tgc5c.cpp +++ b/src/vm/interp/vm_tgc5c.cpp @@ -349,7 +349,7 @@ vm_impl::vm_impl(ARCH &core, unsigned core_id, unsigned cluster_id) } 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){ @@ -2718,4 +2718,4 @@ volatile std::array dummy = { }; } } -// clang-format on \ No newline at end of file +// clang-format on