* 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
This commit is contained in:
nobu 2008-08-08 13:47:48 +00:00
parent e6a8cc7e2b
commit 6a852b7c2b
3 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Fri Aug 8 22:47:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_insnhelper.c (opt_eq_func): large function to make inline.
* bcc32/Makefile.sub (config.h): cannot compile a big inline function.
Fri Aug 8 21:09:10 2008 NARUSE, Yui <naruse@ruby-lang.org>
* common.mk (enk.mk): give not RUBY but MINIRUBY.

View File

@ -252,6 +252,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/bcc32/Makefile.sub
@if not exist $(arch_hdrdir:/=\) md $(arch_hdrdir:/=\)
@if not exist $(arch_hdrdir:/=\)\ruby md $(arch_hdrdir:/=\)\ruby
@$(IFCHANGE) $(RUBY_CONFIG_H:/=\) &&|
\#define NO_BIG_INLINE 1
\#define HAVE_SYS_TYPES_H 1
\#define HAVE_SYS_STAT_H 1
\#define HAVE_STDLIB_H 1

View File

@ -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;