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

ruby-changes:42671

From: ktsj <ko1@a...>
Date: Sun, 24 Apr 2016 17:40:28 +0900 (JST)
Subject: [ruby-changes:42671] ktsj:r54745 (trunk): * vm_insnhelper.c (INLINE): disbale r54738 if __NO_INLINE__ is defined.

ktsj	2016-04-24 18:37:04 +0900 (Sun, 24 Apr 2016)

  New Revision: 54745

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

  Log:
    * vm_insnhelper.c (INLINE): disbale r54738 if __NO_INLINE__ is defined.
      It caused "undefined reference to `vm_getivar'".

  Modified files:
    trunk/ChangeLog
    trunk/vm_insnhelper.c
Index: vm_insnhelper.c
===================================================================
--- vm_insnhelper.c	(revision 54744)
+++ vm_insnhelper.c	(revision 54745)
@@ -19,7 +19,7 @@ https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L19
 /* control stack frame */
 
 #undef INLINE
-#if defined __GNUC__ && !defined __clang__
+#if defined __GNUC__ && !defined(__NO_INLINE__) && !defined __clang__
 #define INLINE inline
 #else
 #define INLINE static inline
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54744)
+++ ChangeLog	(revision 54745)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Apr 24 18:33:58 2016  Kazuki Tsujimoto  <kazuki@c...>
+
+	* vm_insnhelper.c (INLINE): disbale r54738 if __NO_INLINE__ is defined.
+	  It caused "undefined reference to `vm_getivar'".
+
 Sun Apr 24 09:32:12 2016  Yuichiro Kaneko  <yui-knk@r...>
 
 	* test/ruby/test_array.rb: Add test cases for Array#sum with

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

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