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

ruby-changes:52104

From: k0kubun <ko1@a...>
Date: Sun, 12 Aug 2018 08:40:17 +0900 (JST)
Subject: [ruby-changes:52104] k0kubun:r64312 (trunk): vm_insnhelper.c: drop duplicated inline

k0kubun	2018-08-12 08:40:12 +0900 (Sun, 12 Aug 2018)

  New Revision: 64312

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

  Log:
    vm_insnhelper.c: drop duplicated inline
    
    to resolve warning:
    c:\projects\ruby\vm_insnhelper.c(1661) : warning C4141: 'inline' : used more than once

  Modified files:
    trunk/vm_insnhelper.c
Index: vm_insnhelper.c
===================================================================
--- vm_insnhelper.c	(revision 64311)
+++ vm_insnhelper.c	(revision 64312)
@@ -1658,7 +1658,7 @@ vm_call_iseq_setup_2(rb_execution_contex https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L1658
 }
 
 /* Used in JIT to ensure intended me is used and to reduce memory access by inlining values. */
-ALWAYS_INLINE(static inline VALUE vm_call_iseq_setup_normal_internal(rb_execution_context_t *ec, rb_control_frame_t *cfp, int argc, VALUE recv, VALUE block_handler, const rb_callable_method_entry_t *me, const rb_iseq_t *iseq, const VALUE *pc, int param_size, int local_size, int stack_max));
+ALWAYS_INLINE(static VALUE vm_call_iseq_setup_normal_internal(rb_execution_context_t *ec, rb_control_frame_t *cfp, int argc, VALUE recv, VALUE block_handler, const rb_callable_method_entry_t *me, const rb_iseq_t *iseq, const VALUE *pc, int param_size, int local_size, int stack_max));
 static inline VALUE
 vm_call_iseq_setup_normal_internal(rb_execution_context_t *ec, rb_control_frame_t *cfp, int argc, VALUE recv, VALUE block_handler, const rb_callable_method_entry_t *me,
                                    const rb_iseq_t *iseq, const VALUE *pc, int param_size, int local_size, int stack_max)

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

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