summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index ea9b4905ad..aee1b4ed93 100644
--- a/compile.c
+++ b/compile.c
@@ -6748,7 +6748,7 @@ caller_location(VALUE *path, VALUE *absolute_path)
return line;
}
else {
- *path = rb_str_new2("<compiled>");
+ *path = rb_fstring_cstr("<compiled>");
*absolute_path = *path;
return 1;
}