summaryrefslogtreecommitdiffstats
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
commitd49f7b1a0fe0b54e3af6a8990f88eaec04e935ae (patch)
tree4cd9f55d6303d2a41854108ec0d450045968f728 /vm_insnhelper.c
parent8690960cbfbc852bdbf9c85d957a296e2fbf8037 (diff)
downloadruby-d49f7b1a0fe0b54e3af6a8990f88eaec04e935ae.tar.gz
ruby-d49f7b1a0fe0b54e3af6a8990f88eaec04e935ae.tar.xz
ruby-d49f7b1a0fe0b54e3af6a8990f88eaec04e935ae.zip
* 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: http://svn.ruby-lang.org/repos/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 bdccfd1ca..a886685be 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;