diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-09-07 20:15:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-07 23:15:08 -0400 |
commit | 89edce432115c1bb46b2de0f4cd1e50c6e02ec41 (patch) | |
tree | c3727a4997254f8e9aa93c9b008ce0ce2f942b7c /yjit | |
parent | 094f336a274ce83bc9868c7f9be0962b54ec46a7 (diff) |
YJIT: Decrease IVAR_MAX_DEPTH to 8 (#8398)
Notes
Notes:
Merged-By: maximecb <maximecb@ruby-lang.org>
Diffstat (limited to 'yjit')
-rw-r--r-- | yjit/src/codegen.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs index a32657beeb..e00c1788c3 100644 --- a/yjit/src/codegen.rs +++ b/yjit/src/codegen.rs @@ -2035,11 +2035,11 @@ fn jit_chain_guard( } } -// up to 10 different classes, and embedded or not for each -pub const GET_IVAR_MAX_DEPTH: i32 = 10; +// up to 8 different shapes for each +pub const GET_IVAR_MAX_DEPTH: i32 = 8; -// up to 10 different classes, and embedded or not for each -pub const SET_IVAR_MAX_DEPTH: i32 = 10; +// up to 8 different shapes for each +pub const SET_IVAR_MAX_DEPTH: i32 = 8; // hashes and arrays pub const OPT_AREF_MAX_CHAIN_DEPTH: i32 = 2; |