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

ruby-changes:40172

From: ko1 <ko1@a...>
Date: Sat, 24 Oct 2015 02:00:57 +0900 (JST)
Subject: [ruby-changes:40172] ko1:r52253 (trunk): * vm_core.h: define vm_call_handler.

ko1	2015-10-24 02:00:51 +0900 (Sat, 24 Oct 2015)

  New Revision: 52253

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

  Log:
    * vm_core.h: define vm_call_handler.

  Modified files:
    trunk/ChangeLog
    trunk/vm_core.h
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 52252)
+++ ChangeLog	(revision 52253)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Oct 24 01:58:50 2015  Koichi Sasada  <ko1@a...>
+
+	* vm_core.h: define vm_call_handler.
+
 Sat Oct 24 01:56:01 2015  Koichi Sasada  <ko1@a...>
 
 	* vm_core.h, vm_insnhelper.h: move definition of VMDEBUG
Index: vm_core.h
===================================================================
--- vm_core.h	(revision 52252)
+++ vm_core.h	(revision 52253)
@@ -228,6 +228,9 @@ struct rb_calling_info { https://github.com/ruby/ruby/blob/trunk/vm_core.h#L228
     int argc;
 };
 
+struct rb_call_cache;
+typedef VALUE (*vm_call_handler)(struct rb_thread_struct *th, struct rb_control_frame_struct *cfp, struct rb_calling_info *calling, const struct rb_call_info *ci, struct rb_call_cache *cc);
+
 struct rb_call_cache {
     /* inline cache: keys */
     rb_serial_t method_state;
@@ -236,7 +239,7 @@ struct rb_call_cache { https://github.com/ruby/ruby/blob/trunk/vm_core.h#L239
     /* inline cache: values */
     const rb_callable_method_entry_t *me;
 
-    VALUE (*call)(struct rb_thread_struct *th, struct rb_control_frame_struct *cfp, struct rb_calling_info *calling, const struct rb_call_info *ci, struct rb_call_cache *cc);
+    vm_call_handler call;
 
     union {
 	unsigned int index; /* used by ivar */

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

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