Skip to content

Commit 68d9f7c

Browse files
aidenfoxiveyk0kubun
authored andcommitted
ZJIT: Remove unnecessary 'static annotation from gen_hir_type.rb
1 parent a12aa2b commit 68d9f7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zjit/src/hir_type/gen_hir_type.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def add_union name, type_names
190190
subtypes = $bits[type_name].join(" | ")
191191
puts " pub const #{type_name}: u64 = #{subtypes};"
192192
}
193-
puts " pub const AllBitPatterns: [(&'static str, u64); #{$bits.size}] = ["
193+
puts " pub const AllBitPatterns: [(&str, u64); #{$bits.size}] = ["
194194
# Sort the bit patterns by decreasing value so that we can print the densest
195195
# possible to-string representation of a Type. For example, CSigned instead of
196196
# CInt8|CInt16|...

0 commit comments

Comments
 (0)