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

ruby-changes:39120

From: ko1 <ko1@a...>
Date: Thu, 9 Jul 2015 13:04:45 +0900 (JST)
Subject: [ruby-changes:39120] ko1:r51201 (trunk): * vm_insnhelper.c (vm_search_super_method): use CI_SET_FASTPATH().

ko1	2015-07-09 13:04:30 +0900 (Thu, 09 Jul 2015)

  New Revision: 51201

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51201

  Log:
    * vm_insnhelper.c (vm_search_super_method): use CI_SET_FASTPATH().

  Modified files:
    trunk/ChangeLog
    trunk/vm_insnhelper.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 51200)
+++ ChangeLog	(revision 51201)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Jul  9 13:03:46 2015  Koichi Sasada  <ko1@a...>
+
+	* vm_insnhelper.c (vm_search_super_method): use CI_SET_FASTPATH().
+
 Thu Jul  9 11:07:06 2015  Koichi Sasada  <ko1@a...>
 
 	* vm_core.h: remove rb_call_info_t::klass because
Index: vm_insnhelper.c
===================================================================
--- vm_insnhelper.c	(revision 51200)
+++ vm_insnhelper.c	(revision 51201)
@@ -2216,7 +2216,7 @@ vm_search_super_method(rb_thread_t *th, https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L2216
     else {
 	/* TODO: use inline cache */
 	ci->me = rb_callable_method_entry(klass, ci->mid);
-	ci->call = vm_call_super_method;
+	CI_SET_FASTPATH(ci, vm_call_super_method, 1);
     }
 }
 

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

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