diff options
author | Jemma Issroff <jemmaissroff@gmail.com> | 2022-07-18 15:38:12 -0400 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2022-07-18 14:06:30 -0700 |
commit | 85ea46730deff70172a9f50172f0011a7401f371 (patch) | |
tree | 7381061939a093300fe1d49fdb7b6bcd222ce904 /tool/ruby_vm | |
parent | 3ac9956dee1e4fbc413309d59a428e62de5cfed2 (diff) | |
download | ruby-85ea46730deff70172a9f50172f0011a7401f371.tar.gz |
Separate TS_IVC and TS_ICVARC in is_entries buffers
This allows us to treat cvar caches differently than ivar caches.
Diffstat (limited to 'tool/ruby_vm')
-rw-r--r-- | tool/ruby_vm/views/_insn_type_chars.erb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/ruby_vm/views/_insn_type_chars.erb b/tool/ruby_vm/views/_insn_type_chars.erb index e2ef222548..27daec6c6d 100644 --- a/tool/ruby_vm/views/_insn_type_chars.erb +++ b/tool/ruby_vm/views/_insn_type_chars.erb @@ -20,9 +20,10 @@ ISEQ_IS_ENTRY_START(const struct rb_iseq_constant_body *body, char op_type) case TS_IC: relative_ic_offset += body->ise_size; case TS_ISE: + relative_ic_offset += body->icvarc_size; + case TS_ICVARC: relative_ic_offset += body->ivc_size; case TS_IVC: - case TS_ICVARC: break; default: rb_bug("Wrong op type"); |