summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--bcc32/Makefile.sub1
-rw-r--r--vm_insnhelper.c6
3 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 70e1c95417..c757450403 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/bcc32/Makefile.sub b/bcc32/Makefile.sub
index ae5236e6c5..6ce6d4f9bd 100644
--- a/bcc32/Makefile.sub
+++ b/bcc32/Makefile.sub
@@ -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
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;