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

ruby-changes:68993

From: John <ko1@a...>
Date: Thu, 21 Oct 2021 08:19:37 +0900 (JST)
Subject: [ruby-changes:68993] 78f64d14d4 (master): Add invokebuiltin_delegate_leave

https://git.ruby-lang.org/ruby.git/commit/?id=78f64d14d4

From 78f64d14d47f49e7fe68aab202a056cec7b86218 Mon Sep 17 00:00:00 2001
From: John Hawthorn <john@h...>
Date: Mon, 14 Jun 2021 16:44:08 -0700
Subject: Add invokebuiltin_delegate_leave

invokebuiltin_delegate can be run in place of
invokebuiltin_delegate_leave because there is always a leave instruction
afterwards (the interpreter takes advantage of this as well when
rewriting iseqs for tracing).
---
 yjit_codegen.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/yjit_codegen.c b/yjit_codegen.c
index 2c9e31f024..e36ee93774 100644
--- a/yjit_codegen.c
+++ b/yjit_codegen.c
@@ -3298,6 +3298,7 @@ yjit_init_codegen(void) https://github.com/ruby/ruby/blob/trunk/yjit_codegen.c#L3298
     yjit_reg_op(BIN(opt_not), gen_opt_not);
     yjit_reg_op(BIN(opt_getinlinecache), gen_opt_getinlinecache);
     yjit_reg_op(BIN(opt_invokebuiltin_delegate), gen_opt_invokebuiltin_delegate);
+    yjit_reg_op(BIN(opt_invokebuiltin_delegate_leave), gen_opt_invokebuiltin_delegate);
     yjit_reg_op(BIN(branchif), gen_branchif);
     yjit_reg_op(BIN(branchunless), gen_branchunless);
     yjit_reg_op(BIN(branchnil), gen_branchnil);
-- 
cgit v1.2.1


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

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