1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Make VM_DEBUG_VERIFY_METHOD_CACHE derived from VMDEBUG

VM_DEBUG_MODE has been used only here.
This commit is contained in:
Nobuyoshi Nakada 2019-08-17 23:14:52 +09:00
parent 2a65498ca2
commit 765eb18a45
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -737,7 +737,7 @@ typedef struct rb_vm_struct {
#endif
#ifndef VM_DEBUG_VERIFY_METHOD_CACHE
#define VM_DEBUG_VERIFY_METHOD_CACHE (VM_DEBUG_MODE != 0)
#define VM_DEBUG_VERIFY_METHOD_CACHE (VMDEBUG != 0)
#endif
struct rb_captured_block {