diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-06 23:17:25 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-06 23:44:01 -0800 |
commit | 23ec248e48f696ae986e2b19cd572ece02a5ba55 (patch) | |
tree | 3973e15ea1c34d000b40a64bd64e78880f28efec /tool/mk_builtin_loader.rb | |
parent | 2e875549a934fa04b7939810fa0d8a2762702aaa (diff) | |
download | ruby-23ec248e48f696ae986e2b19cd572ece02a5ba55.tar.gz |
s/mjit/rjit/
Diffstat (limited to 'tool/mk_builtin_loader.rb')
-rw-r--r-- | tool/mk_builtin_loader.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 " };" |