summaryrefslogtreecommitdiff
path: root/lib/mjit/compiler.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2022-11-25 15:23:42 -0800
committerTakashi Kokubun <[email protected]>2022-11-25 15:23:43 -0800
commit89a98ee1e1008588962ab444cee7d51fa46ebcf0 (patch)
tree4f78ab19eeff7a9be61661c592175ca3f613773d /lib/mjit/compiler.rb
parent4ea9d7d7c223ff92365c4a013fc1bd073d67a3a5 (diff)
MJIT: Remove obsoleted variable
no longer used after 4ea9d7d7c223ff92365c4a013fc1bd073d67a3a5
Diffstat (limited to 'lib/mjit/compiler.rb')
-rw-r--r--lib/mjit/compiler.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/mjit/compiler.rb b/lib/mjit/compiler.rb
index ba849b3585..e7989ee073 100644
--- a/lib/mjit/compiler.rb
+++ b/lib/mjit/compiler.rb
@@ -351,7 +351,6 @@ module RubyVM::MJIT
dest_shape_id = ic_copy.value >> C.SHAPE_FLAG_SHIFT
attr_index = ic_copy.value & ((1 << C.SHAPE_FLAG_SHIFT) - 1)
- capa = nil
source_shape_id = if dest_shape_id == C.INVALID_SHAPE_ID
dest_shape_id
else
@@ -359,7 +358,6 @@ module RubyVM::MJIT
parent = C.rb_shape_get_shape_by_id(parent_id)
if parent.type == C.SHAPE_CAPACITY_CHANGE
- capa = parent.capacity
parent.parent_id
else
parent_id