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

ruby-changes:42673

From: nobu <ko1@a...>
Date: Sun, 24 Apr 2016 20:04:24 +0900 (JST)
Subject: [ruby-changes:42673] nobu:r54747 (trunk): vm_insnhelper.c: INLINE condition

nobu	2016-04-24 21:01:00 +0900 (Sun, 24 Apr 2016)

  New Revision: 54747

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

  Log:
    vm_insnhelper.c: INLINE condition
    
    * vm_insnhelper.c (INLINE): works with __NO_INLINE__ only,
      __clang__ is not the point.

  Modified files:
    trunk/vm_insnhelper.c
Index: vm_insnhelper.c
===================================================================
--- vm_insnhelper.c	(revision 54746)
+++ vm_insnhelper.c	(revision 54747)
@@ -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__ && !defined __clang__
+#if defined __GNUC__ && !defined __NO_INLINE__
 #define INLINE inline
 #else
 #define INLINE static inline

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

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