summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iseq.c b/iseq.c
index e5210ca..f64177d 100644
--- a/iseq.c
+++ b/iseq.c
@@ -493,16 +493,16 @@ rb_iseq_insns_info_encode_positions(const rb_iseq_t *iseq)
#endif
}
+#if VM_INSN_INFO_TABLE_IMPL == 2
unsigned int *
rb_iseq_insns_info_decode_positions(const struct rb_iseq_constant_body *body)
{
-#if VM_INSN_INFO_TABLE_IMPL == 2
int size = body->insns_info.size;
int max_pos = body->iseq_size;
struct succ_index_table *sd = body->insns_info.succ_index_table;
return succ_index_table_invert(max_pos, sd, size);
-#endif
}
+#endif
static VALUE
finish_iseq_build(rb_iseq_t *iseq)