1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* vm_insnhelper.c (INLINE): disbale r54738 if __NO_INLINE__ is defined.

It caused "undefined reference to `vm_getivar'".

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ktsj 2016-04-24 09:37:04 +00:00
parent 3184407aef
commit 322ec84772
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sun Apr 24 18:33:58 2016 Kazuki Tsujimoto <kazuki@callcc.net>
* 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@ruby-lang.org> Sun Apr 24 09:32:12 2016 Yuichiro Kaneko <yui-knk@ruby-lang.org>
* test/ruby/test_array.rb: Add test cases for Array#sum with * test/ruby/test_array.rb: Add test cases for Array#sum with

View file

@ -19,7 +19,7 @@
/* control stack frame */ /* control stack frame */
#undef INLINE #undef INLINE
#if defined __GNUC__ && !defined __clang__ #if defined __GNUC__ && !defined(__NO_INLINE__) && !defined __clang__
#define INLINE inline #define INLINE inline
#else #else
#define INLINE static inline #define INLINE static inline