Skip to content

Commit 2be1b04

Browse files
committed
Make type definition code more consistent
1 parent bc1bc12 commit 2be1b04

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

zjit/src/hir_type/gen_hir_type.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,17 @@ def base_type name
7878
module_exact.subtype "Class"
7979
module_exact.subtype "ClassExact"
8080

81-
(integer, integer_exact) = base_type "Integer"
81+
_, integer_exact = base_type "Integer"
8282
# CRuby partitions Integer into immediate and non-immediate variants.
8383
fixnum = integer_exact.subtype "Fixnum"
8484
integer_exact.subtype "Bignum"
8585

86-
(float, float_exact) = base_type "Float"
86+
_, float_exact = base_type "Float"
8787
# CRuby partitions Float into immediate and non-immediate variants.
8888
flonum = float_exact.subtype "Flonum"
8989
float_exact.subtype "HeapFloat"
9090

91-
(symbol, symbol_exact) = base_type "Symbol"
91+
_, symbol_exact = base_type "Symbol"
9292
# CRuby partitions Symbol into immediate and non-immediate variants.
9393
static_sym = symbol_exact.subtype "StaticSymbol"
9494
symbol_exact.subtype "DynamicSymbol"

0 commit comments

Comments
 (0)