diff options
| author | Max Bernstein <max.bernstein@shopify.com> | 2025-03-27 12:03:18 -0400 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2025-04-18 21:53:01 +0900 |
| commit | 52fe40f030f7b8639a85f72444f229f12287e6c2 (patch) | |
| tree | b74f753b9c5f3162b0a5be4ae38cf6e92bda3a49 | |
| parent | 2cf769376b1c8e6e1f98fe3aa98d426fb6afc5c8 (diff) | |
Default to BasicObject subclass if unknown
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13131
| -rw-r--r-- | zjit/src/hir_type/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zjit/src/hir_type/mod.rs b/zjit/src/hir_type/mod.rs index a91a286382..2168bbda2b 100644 --- a/zjit/src/hir_type/mod.rs +++ b/zjit/src/hir_type/mod.rs @@ -197,7 +197,7 @@ impl Type { } else { // TODO(max): Add more cases for inferring type bits from built-in types - Type { bits: bits::Object, spec: Specialization::Object(val) } + Type { bits: bits::BasicObject, spec: Specialization::Object(val) } } } |
