Skip to content

Commit

Permalink
Revert "vm_insnhelper.c: INLINE condition" [Bug #12316]
Browse files Browse the repository at this point in the history
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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nurse committed Apr 24, 2016
1 parent 8ea1940 commit 60926ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm_insnhelper.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/* 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
Expand Down

0 comments on commit 60926ac

Please sign in to comment.