summaryrefslogtreecommitdiff
path: root/test/ruby/test_rubyvm.rb
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2023-01-13 14:22:11 -0500
committerAlan Wu <XrXr@users.noreply.github.com>2023-01-13 15:32:28 -0500
commit84b1f48891f36ae25365181d054a208438bfa1a9 (patch)
tree86ef19af25aec302ad0d833e720fa2fac7285f59 /test/ruby/test_rubyvm.rb
parent8a93e5d01bf8bc185426a62ebb675460592a609b (diff)
YJIT: Factor out VALUE_BITS = (8 * SIZE_OF_VALUE as u8)
Using a constant shows intention better and is less noisy. It always took me a second to parse the long expression.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/7121
Diffstat (limited to 'test/ruby/test_rubyvm.rb')
0 files changed, 0 insertions, 0 deletions