summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compile.c2
-rw-r--r--tool/mk_builtin_loader.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/compile.c b/compile.c
index e0b850556e..8c83903115 100644
--- a/compile.c
+++ b/compile.c
@@ -6902,7 +6902,7 @@ compile_call(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *const node, in
if (bf == NULL) {
if (strcmp("inline!", builtin_func) == 0) {
int inline_index = GET_VM()->builtin_inline_index++;
- snprintf(inline_func, 0x20, "__builtin_inline%d", inline_index);
+ snprintf(inline_func, 0x20, "rb_compiled_inline%d", inline_index);
builtin_func = inline_func;
args_node = NULL;
goto retry;
diff --git a/tool/mk_builtin_loader.rb b/tool/mk_builtin_loader.rb
index 8f4d5df60b..7d06b12ccf 100644
--- a/tool/mk_builtin_loader.rb
+++ b/tool/mk_builtin_loader.rb
@@ -29,7 +29,7 @@ def collect_builtin base, iseq_ary, bs, inlines
raise "1st argument should be string literal" unless prev_insn[0] == :putstring
text = prev_insn[1]
- func_name = "__builtin_inline#{inlines.size}"
+ func_name = "rb_compiled_inline#{inlines.size}"
inlines << [func_name, [lineno, text, params]]
argc -= 1
end