diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-24 14:58:48 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-24 14:58:48 +0000 |
commit | 4993d7eeb0bca19872ef9872b8e97f4f5253c43d (patch) | |
tree | 1270b8b59ad52ba768011e8bc923c7dced5d5727 /vm_insnhelper.c | |
parent | 7a9ec236e99d7ca313499e83a6d85336f1aa22d1 (diff) | |
download | ruby-4993d7eeb0bca19872ef9872b8e97f4f5253c43d.tar.gz |
Revert "vm_insnhelper.c: INLINE condition" [Bug #12316]
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
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 448956c8af..9359e2726c 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -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 |