From 23ec248e48f696ae986e2b19cd572ece02a5ba55 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 6 Mar 2023 23:17:25 -0800 Subject: s/mjit/rjit/ --- tool/mk_builtin_loader.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tool/mk_builtin_loader.rb') diff --git a/tool/mk_builtin_loader.rb b/tool/mk_builtin_loader.rb index 94af846a7e..0b16f9fc27 100644 --- a/tool/mk_builtin_loader.rb +++ b/tool/mk_builtin_loader.rb @@ -325,7 +325,7 @@ def mk_builtin_header file . map {|i|", argv[#{i}]"} \ . join('') f.puts %'static void' - f.puts %'mjit_compile_invokebuiltin_for_#{func}(VALUE buf, long index, unsigned stack_size, bool inlinable_p)' + f.puts %'rjit_compile_invokebuiltin_for_#{func}(VALUE buf, long index, unsigned stack_size, bool inlinable_p)' f.puts %'{' f.puts %' rb_str_catf(buf, " VALUE self = GET_SELF();\\n");' f.puts %' rb_str_catf(buf, " typedef VALUE (*func)(rb_execution_context_t *, VALUE#{decl});\\n");' @@ -371,7 +371,7 @@ def mk_builtin_header file f.puts " // table definition" f.puts " static const struct rb_builtin_function #{table}[] = {" bs.each.with_index{|(func, (argc, cfunc_name)), i| - f.puts " RB_BUILTIN_FUNCTION(#{i}, #{func}, #{cfunc_name}, #{argc}, mjit_compile_invokebuiltin_for_#{func})," + f.puts " RB_BUILTIN_FUNCTION(#{i}, #{func}, #{cfunc_name}, #{argc}, rjit_compile_invokebuiltin_for_#{func})," } f.puts " RB_BUILTIN_FUNCTION(-1, NULL, NULL, 0, 0)," f.puts " };" -- cgit v1.2.1