diff options
| author | Aiden Fox Ivey <aiden@aidenfoxivey.com> | 2025-10-27 15:01:01 -0400 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2025-10-27 12:56:41 -0700 |
| commit | 68d9f7c3e6da11690ead9b525e08a8f2c4afc4be (patch) | |
| tree | 7f67cc1c2aca1b572bae58aa70fbd82b4e51cda5 | |
| parent | a12aa2b5aa0598ccf5bb9ff0f9b5dfde8a873be5 (diff) | |
ZJIT: Remove unnecessary 'static annotation from gen_hir_type.rb
| -rw-r--r-- | zjit/src/hir_type/gen_hir_type.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zjit/src/hir_type/gen_hir_type.rb b/zjit/src/hir_type/gen_hir_type.rb index 653efa6f8f..4e0ecc718f 100644 --- a/zjit/src/hir_type/gen_hir_type.rb +++ b/zjit/src/hir_type/gen_hir_type.rb @@ -190,7 +190,7 @@ $bits.keys.sort.map {|type_name| subtypes = $bits[type_name].join(" | ") puts " pub const #{type_name}: u64 = #{subtypes};" } -puts " pub const AllBitPatterns: [(&'static str, u64); #{$bits.size}] = [" +puts " pub const AllBitPatterns: [(&str, u64); #{$bits.size}] = [" # Sort the bit patterns by decreasing value so that we can print the densest # possible to-string representation of a Type. For example, CSigned instead of # CInt8|CInt16|... |
