summaryrefslogtreecommitdiffstats
path: root/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/compile.c b/compile.c
index ea76aa1e5..5966c2aa7 100644
--- a/compile.c
+++ b/compile.c
@@ -132,6 +132,8 @@ iseq_add_mark_object(rb_iseq_t *iseq, VALUE v)
return COMPILE_OK;
}
+#define ruby_sourcefile RSTRING_PTR(iseq->filename)
+
static int
iseq_add_mark_object_compile_time(rb_iseq_t *iseq, VALUE v)
{