summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-08 13:47:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-08 13:47:48 +0000
commit6a852b7c2b46faa1876763e46e1847cbab77b071 (patch)
tree4cd9f55d6303d2a41854108ec0d450045968f728 /vm_insnhelper.c
parente6a8cc7e2bee761f0b9ab86b4888b1ae8cf2a0f2 (diff)
* vm_insnhelper.c (opt_eq_func): large function to make inline.
* bcc32/Makefile.sub (config.h): cannot compile a big inline function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index bdccfd1ca1..a886685be6 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -1412,7 +1412,11 @@ check_cfunc(const NODE *mn, const void *func)
}
}
-static inline VALUE
+static
+#ifndef NO_BIG_INLINE
+inline
+#endif
+VALUE
opt_eq_func(VALUE recv, VALUE obj, IC ic)
{
VALUE val = Qundef;