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

ruby-changes:42669

From: nobu <ko1@a...>
Date: Sun, 24 Apr 2016 11:41:28 +0900 (JST)
Subject: [ruby-changes:42669] nobu:r54743 (trunk): Disable r54738 if clang

nobu	2016-04-24 12:38:03 +0900 (Sun, 24 Apr 2016)

  New Revision: 54743

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

  Log:
    Disable r54738 if clang

  Modified files:
    trunk/vm_insnhelper.c
Index: vm_insnhelper.c
===================================================================
--- vm_insnhelper.c	(revision 54742)
+++ vm_insnhelper.c	(revision 54743)
@@ -19,7 +19,7 @@ https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L19
 /* control stack frame */
 
 #undef INLINE
-#ifdef __OPTIMIZE__
+#if defined __GNUC__ && !defined __clang__
 #define INLINE inline
 #else
 #define INLINE static inline

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

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