Skip to content

Commit d754aae

Browse files
committed
Make type definition code more consistent
1 parent 87589d0 commit d754aae

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
@@ -77,17 +77,17 @@ def base_type name
7777
module_class, _ = base_type "Module"
7878
module_class.subtype "Class"
7979

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

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

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

0 commit comments

Comments
 (0)