1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove RubyVM::JIT (#5275)

[Feature #18349] reverts [Feature #17490]
This commit is contained in:
Takashi Kokubun 2021-12-15 20:02:30 -08:00 committed by GitHub
parent 40cc8e9231
commit 02ba0bda7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2021-12-16 13:02:50 +09:00
Merged-By: k0kubun <takashikkbn@gmail.com>

3
vm.c
View file

@ -3484,9 +3484,6 @@ Init_VM(void)
rb_define_singleton_method(mjit, "enabled?", mjit_enabled_p, 0);
rb_define_singleton_method(mjit, "pause", mjit_pause_m, -1);
rb_define_singleton_method(mjit, "resume", mjit_resume_m, 0);
/* RubyVM::JIT for short-term backward compatibility */
rb_const_set(rb_cRubyVM, rb_intern("JIT"), mjit);
rb_deprecate_constant(rb_cRubyVM, "JIT");
/*
* Document-class: Thread