aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-24 14:58:48 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-24 14:58:48 +0000
commit60926acd9b8623a4acd668fb966c892a719e02dc (patch)
tree1270b8b59ad52ba768011e8bc923c7dced5d5727
parent8ea194024a09589281e7e95cd8d3e53f2dbf3fa6 (diff)
downloadruby-60926acd9b8623a4acd668fb966c892a719e02dc.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
-rw-r--r--vm_insnhelper.c2
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