summaryrefslogtreecommitdiff
path: root/spec/ruby
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2021-08-10 14:46:17 -0700
committerJeremy Evans <code@jeremyevans.net>2022-03-09 15:16:00 -0800
commit5f4e78423337662d0fc6cccf63a0fc8835715fae (patch)
tree9f980db58f769989c878670ddffd35c75defcd6c /spec/ruby
parent72c038a8f5cbddceefe1c4bd9bdc4592b9c095b9 (diff)
Avoid unnecessary conditional
All frames should be either iseq frames or cfunc frames. Use a VM assert instead of a conditional to check for a cfunc frame if the current frame is not an iseq frame.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4732
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions