summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rw-r--r--tool/ruby_vm/views/_insn_type_chars.erb3
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");