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

ruby-changes:62180

From: Takashi <ko1@a...>
Date: Fri, 10 Jul 2020 16:49:57 +0900 (JST)
Subject: [ruby-changes:62180] 615758bd82 (master): Fix an inaccurate comment in test_jit

https://git.ruby-lang.org/ruby.git/commit/?id=615758bd82

From 615758bd823d52e542976bbc83a728c1bad28ade Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Fri, 10 Jul 2020 00:47:26 -0700
Subject: Fix an inaccurate comment in test_jit


diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb
index c1f2f7a..2386a5e 100644
--- a/test/ruby/test_jit.rb
+++ b/test/ruby/test_jit.rb
@@ -805,7 +805,9 @@ class TestJIT < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_jit.rb#L805
 
       print(test('a')) # set #to_s cc to String#to_s (expecting C method)
       print(test('a')) # JIT with #to_s cc: String#to_s
-      print(test('a', recursive: :foo)) # update #to_s cd->cc to Symbol#to_s, then go through inlined #to_s cc with Symbol#to_s
+      # update #to_s cd->cc to Symbol#to_s, then go through the Symbol#to_s cd->cc
+      # after checking receiver class using inlined #to_s cc with String#to_s.
+      print(test('a', recursive: :foo))
     end;
   end
 
-- 
cgit v0.10.2


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

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