From 81f3591b17bbcbc6081d9f80e2855fd109ec3830 Mon Sep 17 00:00:00 2001 From: Satoshi Tagomori Date: Sat, 20 Sep 2025 14:15:42 +0900 Subject: [PATCH] Unify all block_handler getter to check namespace consistently --- vm_insnhelper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm_insnhelper.h b/vm_insnhelper.h index 8e7b7c743e..6d32a7535b 100644 --- a/vm_insnhelper.h +++ b/vm_insnhelper.h @@ -144,7 +144,7 @@ CC_SET_FASTPATH(const struct rb_callcache *cc, vm_call_handler func, bool enable } } -#define GET_BLOCK_HANDLER() VM_ENV_BLOCK_HANDLER(VM_EP_LEP(GET_EP())) +#define GET_BLOCK_HANDLER() VM_CF_BLOCK_HANDLER(GET_CFP()) /**********************************************************/ /* deal with control flow 3: exception */