summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authorJemma Issroff <jemmaissroff@gmail.com>2022-02-02 09:14:59 -0500
committerAaron Patterson <aaron.patterson@gmail.com>2022-02-02 09:20:34 -0800
commit2913a2f5cfceb6d6b411e165d9c723bd2435eacd (patch)
treef5f7cd1deb656219e108de980f13291778d8eb9a /iseq.c
parent7b77d46671685c837adc33b39ae0210e04cd8b24 (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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/iseq.c b/iseq.c
index f711367cfc..a2eb09f00f 100644
--- a/iseq.c
+++ b/iseq.c
@@ -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;