diff options
author | Jemma Issroff <jemmaissroff@gmail.com> | 2022-02-02 09:14:59 -0500 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2022-02-02 09:20:34 -0800 |
commit | 2913a2f5cfceb6d6b411e165d9c723bd2435eacd (patch) | |
tree | f5f7cd1deb656219e108de980f13291778d8eb9a /iseq.c | |
parent | 7b77d46671685c837adc33b39ae0210e04cd8b24 (diff) |
Treat TS_ICVARC cache as separate from TS_IVC cache
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5519
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -196,6 +196,7 @@ iseq_extract_values(VALUE *code, size_t pos, iseq_value_itr_t * func, void *data } break; case TS_IVC: + case TS_ICVARC: { IVC ivc = (IVC)code[pos + op_no + 1]; if (ivc->entry) { @@ -2060,6 +2061,7 @@ rb_insn_operand_intern(const rb_iseq_t *iseq, case TS_IC: case TS_IVC: + case TS_ICVARC: case TS_ISE: ret = rb_sprintf("<is:%"PRIdPTRDIFF">", (union iseq_inline_storage_entry *)op - iseq->body->is_entries); break; @@ -2893,6 +2895,7 @@ iseq_data_to_ary(const rb_iseq_t *iseq) break; case TS_IC: case TS_IVC: + case TS_ICVARC: case TS_ISE: { union iseq_inline_storage_entry *is = (union iseq_inline_storage_entry *)*seq; |