ruby-changes:42677
From: naruse <ko1@a...>
Date: Sun, 24 Apr 2016 23:02:11 +0900 (JST)
Subject: [ruby-changes:42677] naruse:r54751 (trunk): Revert "vm_insnhelper.c: INLINE condition" [Bug #12316]
naruse 2016-04-24 23:58:48 +0900 (Sun, 24 Apr 2016) New Revision: 54751 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54751 Log: Revert "vm_insnhelper.c: INLINE condition" [Bug #12316] This reverts commit r54747. !__clang__ is also essential. Anyway clang inlines vm_getivar into both vm_call_ivar and vm_getinstancevariable, which r54728 originally intended to. Modified files: trunk/vm_insnhelper.c Index: vm_insnhelper.c =================================================================== --- vm_insnhelper.c (revision 54750) +++ vm_insnhelper.c (revision 54751) @@ -19,7 +19,7 @@ https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L19 /* control stack frame */ #undef INLINE -#if defined __GNUC__ && !defined __NO_INLINE__ +#if defined __GNUC__ && !defined __NO_INLINE__ && !defined __clang__ #define INLINE inline #else #define INLINE static inline -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/