[前][次][番号順一覧][スレッド一覧]

ruby-changes:70251

From: Takashi <ko1@a...>
Date: Thu, 16 Dec 2021 13:02:47 +0900 (JST)
Subject: [ruby-changes:70251] 02ba0bda7e (master): Remove RubyVM::JIT (#5275)

https://git.ruby-lang.org/ruby.git/commit/?id=02ba0bda7e

From 02ba0bda7e548fcc7245d246324e253e5e2fc96a Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Wed, 15 Dec 2021 20:02:30 -0800
Subject: Remove RubyVM::JIT (#5275)

[Feature #18349] reverts [Feature #17490]
---
 vm.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/vm.c b/vm.c
index a405cd0a8cc..0d423cd979b 100644
--- a/vm.c
+++ b/vm.c
@@ -3484,9 +3484,6 @@ Init_VM(void) https://github.com/ruby/ruby/blob/trunk/vm.c#L3484
     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
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]