summaryrefslogtreecommitdiff
path: root/yjit.rb
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2021-03-11 14:46:19 -0500
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:32 -0400
commit0cd9120f177b153126a093e4beabb5784cd0ab99 (patch)
treee10418049297791698f802c2581ea24e165a5e13 /yjit.rb
parentdb53decad6db5eedf9d9090e14f7d2216549f9d0 (diff)
YJIT: hash specialization for opt_aref
Make it lazy and add a hash specialization in addition to the array specialization.
Diffstat (limited to 'yjit.rb')
-rw-r--r--yjit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit.rb b/yjit.rb
index 5daee855e1..a05c2b2d24 100644
--- a/yjit.rb
+++ b/yjit.rb
@@ -14,7 +14,7 @@ module YJIT
# Sort the blocks by increasing addresses
blocks.sort_by(&:address).each_with_index do |block, i|
- str << "== BLOCK #{i+1}/#{blocks.length}: #{block.code.length} BYTES, ISEQ RANGE [#{block.iseq_start_index},#{block.iseq_end_index}] ".ljust(80, "=")
+ str << "== BLOCK #{i+1}/#{blocks.length}: #{block.code.length} BYTES, ISEQ RANGE [#{block.iseq_start_index},#{block.iseq_end_index}) ".ljust(80, "=")
str << "\n"
cs.disasm(block.code, block.address).each do |i|