ruby-changes:6924
From: nobu <ko1@a...>
Date: Fri, 8 Aug 2008 22:52:28 +0900 (JST)
Subject: [ruby-changes:6924] Ruby:r18442 (trunk): * vm_insnhelper.c (opt_eq_func): large function to make inline.
nobu 2008-08-08 22:47:48 +0900 (Fri, 08 Aug 2008) New Revision: 18442 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18442 Log: * vm_insnhelper.c (opt_eq_func): large function to make inline. * bcc32/Makefile.sub (config.h): cannot compile a big inline function. Modified files: trunk/ChangeLog trunk/bcc32/Makefile.sub trunk/vm_insnhelper.c Index: ChangeLog =================================================================== --- ChangeLog (revision 18441) +++ ChangeLog (revision 18442) @@ -1,3 +1,9 @@ +Fri Aug 8 22:47:26 2008 Nobuyoshi Nakada <nobu@r...> + + * 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@r...> * common.mk (enk.mk): give not RUBY but MINIRUBY. Index: vm_insnhelper.c =================================================================== --- vm_insnhelper.c (revision 18441) +++ vm_insnhelper.c (revision 18442) @@ -1412,7 +1412,11 @@ } } -static inline VALUE +static +#ifndef NO_BIG_INLINE +inline +#endif +VALUE opt_eq_func(VALUE recv, VALUE obj, IC ic) { VALUE val = Qundef; Index: bcc32/Makefile.sub =================================================================== --- bcc32/Makefile.sub (revision 18441) +++ bcc32/Makefile.sub (revision 18442) @@ -252,6 +252,7 @@ @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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/