aboutsummaryrefslogtreecommitdiffstats
path: root/compile.h
diff options
context:
space:
mode:
Diffstat (limited to 'compile.h')
-rw-r--r--compile.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/compile.h b/compile.h
index 0b20da40dd..54b5d5d91f 100644
--- a/compile.h
+++ b/compile.h
@@ -162,7 +162,10 @@ r_value(VALUE value)
/* add label */
#define ADD_LABEL(seq, label) \
- ADD_ELEM(seq, (LINK_ELEMENT *)label)
+ ADD_ELEM(seq, (LINK_ELEMENT *) label)
+
+#define ADD_ADJUST(seq, line, label) \
+ ADD_ELEM(seq, (LINK_ELEMENT *) new_adjust_body(iseq, label, line))
#define ADD_CATCH_ENTRY(type, ls, le, iseqv, lc) \
(rb_ary_push(iseq->compile_data->catch_table_ary, \