diff options
author | John Hawthorn <[email protected]> | 2022-03-11 11:48:02 -0800 |
---|---|---|
committer | John Hawthorn <[email protected]> | 2022-06-21 18:33:51 -0700 |
commit | 9312f4bf62224cc0a11175cb6f9b7d0dd840a491 (patch) | |
tree | 39b12c41eeb08852b8aee3977cd07fd7e17f612f /method.h | |
parent | a580dd77377c87754b437efb1a02cccc1554dafd (diff) |
Allow method caching of protected FCALLs
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5643
Diffstat (limited to 'method.h')
-rw-r--r-- | method.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -75,7 +75,6 @@ typedef struct rb_callable_method_entry_struct { /* same fields with rb_method_e #define METHOD_ENTRY_CACHED_SET(me) ((me)->flags |= IMEMO_FL_USER4) #define METHOD_ENTRY_INVALIDATED(me) ((me)->flags & IMEMO_FL_USER5) #define METHOD_ENTRY_INVALIDATED_SET(me) ((me)->flags |= IMEMO_FL_USER5) -#define METHOD_ENTRY_CACHEABLE(me) !(METHOD_ENTRY_VISI(me) == METHOD_VISI_PROTECTED) static inline void METHOD_ENTRY_VISI_SET(rb_method_entry_t *me, rb_method_visibility_t visi) |