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

ruby-changes:64080

From: Jeremy <ko1@a...>
Date: Fri, 11 Dec 2020 03:16:24 +0900 (JST)
Subject: [ruby-changes:64080] 699608487d (master): Make getinstancevariable a leaf instruction

https://git.ruby-lang.org/ruby.git/commit/?id=699608487d

From 699608487d2ff09bb5c610a9d1e6e13f5bd2a25e Mon Sep 17 00:00:00 2001
From: Jeremy Evans <code@j...>
Date: Thu, 10 Dec 2020 07:36:55 -0800
Subject: Make getinstancevariable a leaf instruction

It can no longer issue a warning.

diff --git a/insns.def b/insns.def
index e39037c..2bdb2d5 100644
--- a/insns.def
+++ b/insns.def
@@ -210,8 +210,6 @@ getinstancevariable https://github.com/ruby/ruby/blob/trunk/insns.def#L210
 (ID id, IVC ic)
 ()
 (VALUE val)
-/* "instance variable not initialized" warning can be hooked. */
-// attr bool leaf = false; /* has rb_warning() */
 {
     val = vm_getinstancevariable(GET_ISEQ(), GET_SELF(), id, ic);
 }
-- 
cgit v0.10.2


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

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