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

ruby-changes:68951

From: Maxime <ko1@a...>
Date: Thu, 21 Oct 2021 08:19:25 +0900 (JST)
Subject: [ruby-changes:68951] 646c7b3ff6 (master): Temporarily increase MAX_BRANCHES until we have a better solution

https://git.ruby-lang.org/ruby.git/commit/?id=646c7b3ff6

From 646c7b3ff69af10d5155263d80b0ed21852a1dab Mon Sep 17 00:00:00 2001
From: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@s...>
Date: Tue, 13 Apr 2021 14:37:04 -0400
Subject: Temporarily increase MAX_BRANCHES until we have a better solution

---
 yjit_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yjit_core.c b/yjit_core.c
index e7f419da4f..2584714f7a 100644
--- a/yjit_core.c
+++ b/yjit_core.c
@@ -13,7 +13,7 @@ https://github.com/ruby/ruby/blob/trunk/yjit_core.c#L13
 #define MAX_VERSIONS 4
 
 // Maximum number of branch instructions we can track
-#define MAX_BRANCHES 100000
+#define MAX_BRANCHES 250000
 
 // Registered branch entries
 branch_t branch_entries[MAX_BRANCHES];
-- 
cgit v1.2.1


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

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