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

ruby-changes:70004

From: Aaron <ko1@a...>
Date: Thu, 2 Dec 2021 05:46:56 +0900 (JST)
Subject: [ruby-changes:70004] 3b2b28d035 (master): Revert "Force disable yjit on OpenBSD"

https://git.ruby-lang.org/ruby.git/commit/?id=3b2b28d035

From 3b2b28d035c9635b9473c7a03ede04fa6ac57a34 Mon Sep 17 00:00:00 2001
From: Aaron Patterson <tenderlove@r...>
Date: Wed, 1 Dec 2021 12:46:30 -0800
Subject: Revert "Force disable yjit on OpenBSD"

This reverts commit 119626da947bf6492ef7a27abf3bf12de5d0d95a.
---
 ruby.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/ruby.c b/ruby.c
index c04810acf38..b9ed1ae89c4 100644
--- a/ruby.c
+++ b/ruby.c
@@ -1884,12 +1884,6 @@ process_options(int argc, char **argv, ruby_cmdline_options_t *opt) https://github.com/ruby/ruby/blob/trunk/ruby.c#L1884
          */
         rb_warning("-K is specified; it is for 1.8 compatibility and may cause odd behavior");
 
-#ifdef __OpenBSD__
-    /* Disable yjit on OpenBSD, stops --enable-all from failing with:
-       mmap call failed: Not supported */
-    opt->features.set &= ~FEATURE_BIT(yjit);
-#endif
-
 #if USE_MJIT
     if (opt->features.set & FEATURE_BIT(jit)) {
         opt->mjit.on = TRUE; /* set mjit.on for ruby_show_version() API and check to call mjit_init() */
-- 
cgit v1.2.1


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

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