Skip to content

Commit 81f3591

Browse files
committed
Unify all block_handler getter to check namespace consistently
1 parent 5803088 commit 81f3591

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm_insnhelper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ CC_SET_FASTPATH(const struct rb_callcache *cc, vm_call_handler func, bool enable
144144
}
145145
}
146146

147-
#define GET_BLOCK_HANDLER() VM_ENV_BLOCK_HANDLER(VM_EP_LEP(GET_EP()))
147+
#define GET_BLOCK_HANDLER() VM_CF_BLOCK_HANDLER(GET_CFP())
148148

149149
/**********************************************************/
150150
/* deal with control flow 3: exception */

0 commit comments

Comments
 (0)