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

ruby-changes:25263

From: nobu <ko1@a...>
Date: Wed, 24 Oct 2012 18:48:44 +0900 (JST)
Subject: [ruby-changes:25263] nobu:r37315 (trunk): vm_insnhelper.c: inline

nobu	2012-10-24 18:48:32 +0900 (Wed, 24 Oct 2012)

  New Revision: 37315

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

  Log:
    vm_insnhelper.c: inline
    
    * vm_insnhelper.c: declare as inline, to match with the definitions.

  Modified files:
    trunk/vm_insnhelper.c

Index: vm_insnhelper.c
===================================================================
--- vm_insnhelper.c	(revision 37314)
+++ vm_insnhelper.c	(revision 37315)
@@ -1197,8 +1197,8 @@
 }
 
 static VALUE vm_call_iseq_setup_2(rb_thread_t *th, rb_control_frame_t *cfp, rb_call_info_t *ci);
-static VALUE vm_call_iseq_setup_normal(rb_thread_t *th, rb_control_frame_t *cfp, rb_call_info_t *ci);
-static VALUE vm_call_iseq_setup_tailcall(rb_thread_t *th, rb_control_frame_t *cfp, rb_call_info_t *ci);
+static inline VALUE vm_call_iseq_setup_normal(rb_thread_t *th, rb_control_frame_t *cfp, rb_call_info_t *ci);
+static inline VALUE vm_call_iseq_setup_tailcall(rb_thread_t *th, rb_control_frame_t *cfp, rb_call_info_t *ci);
 
 #define VM_CALLEE_SETUP_ARG(th, ci, iseq, argv, is_lambda) \
     if (LIKELY((iseq)->arg_simple & 0x01)) { \
@@ -1574,7 +1574,7 @@
     return vm_call_bmethod_body(th, ci, argv);
 }
 
-static VALUE vm_call_method(rb_thread_t *th, rb_control_frame_t *cfp, rb_call_info_t *ci);
+static inline VALUE vm_call_method(rb_thread_t *th, rb_control_frame_t *cfp, rb_call_info_t *ci);
 
 static VALUE
 vm_call_opt_send(rb_thread_t *th, rb_control_frame_t *reg_cfp, rb_call_info_t *ci)

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

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