aboutsummaryrefslogtreecommitdiffstats
path: root/iseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/iseq.c b/iseq.c
index 17bfee4981..84d2d14689 100644
--- a/iseq.c
+++ b/iseq.c
@@ -2319,6 +2319,12 @@ rb_iseqw_line_trace_specify(VALUE iseqval, VALUE pos, VALUE set)
return data.prev == 1 ? Qtrue : Qfalse;
}
+VALUE
+rb_iseqw_local_variables(VALUE iseqval)
+{
+ return rb_iseq_local_variables(iseqw_check(iseqval));
+}
+
/*
* Document-class: RubyVM::InstructionSequence
*