aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.h
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2022-06-16 13:28:39 -0700
committerJohn Hawthorn <john@hawthorn.email>2022-06-21 18:33:51 -0700
commita580dd77377c87754b437efb1a02cccc1554dafd (patch)
treed2cbecc9a9617f706b69a9d16a1361ebe7a41bcb /vm_insnhelper.h
parent87a560a0570adf51bd37f9d3da5086db3e3f27a0 (diff)
downloadruby-a580dd77377c87754b437efb1a02cccc1554dafd.tar.gz
Don't check protected method ancestry on fcall
If we are making an FCALL, we know we are calling a method on self. This is the same check made for private method visibility, so it should also guarantee we can call a protected method.
Diffstat (limited to 'vm_insnhelper.h')
0 files changed, 0 insertions, 0 deletions