ruby-changes:43811
From: nobu <ko1@a...>
Date: Sat, 13 Aug 2016 10:21:34 +0900 (JST)
Subject: [ruby-changes:43811] nobu:r55884 (trunk): vm_insnhelper.c: fix ALWAYS_INLINE usage
nobu 2016-08-13 10:21:29 +0900 (Sat, 13 Aug 2016) New Revision: 55884 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55884 Log: vm_insnhelper.c: fix ALWAYS_INLINE usage * vm_insnhelper.c (vm_getivar): ALWAYS_INLINE macro needs an argument. Modified files: trunk/vm_insnhelper.c Index: vm_insnhelper.c =================================================================== --- vm_insnhelper.c (revision 55883) +++ vm_insnhelper.c (revision 55884) @@ -861,7 +861,8 @@ vm_search_const_defined_class(const VALU https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L861 #define USE_IC_FOR_IVAR 1 #endif -ALWAYS_INLINE() inline VALUE +ALWAYS_INLINE(static VALUE vm_getivar(VALUE, ID, IC, struct rb_call_cache *, int)); +static inline VALUE vm_getivar(VALUE obj, ID id, IC ic, struct rb_call_cache *cc, int is_attr) { #if USE_IC_FOR_IVAR -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/