summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-18 12:48:43 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-18 12:48:43 +0000
commit74d3bfb3283d295f5e0bcffb4aa0801affdc2989 (patch)
tree63e0b84595985ad41c168a1bbfe1d3dd2f6e291f /eval.c
parent7b9d68b3e2e23f9e6d0bdfc02fb32c579a569f74 (diff)
downloadruby-74d3bfb3283d295f5e0bcffb4aa0801affdc2989.tar.gz
ruby-74d3bfb3283d295f5e0bcffb4aa0801affdc2989.tar.xz
ruby-74d3bfb3283d295f5e0bcffb4aa0801affdc2989.zip
* eval.c (stack_extend): ignore inline optimization on VC7.
* win32/Makefile.sub (OS, RT): can override. * win32/Makefile.sub (LDFLAGS): ditto. shouldn't use pdb:none option. based on Tietew's patch [ruby-dev:22289] * lib/mkmf.rb (create_makefile): should remove deffile if it's made by miniruby. based on nobu's patch. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index 078d095ec..1abed8619 100644
--- a/eval.c
+++ b/eval.c
@@ -8466,6 +8466,9 @@ rb_thread_switch(n)
NORETURN(static void rb_thread_restore_context _((rb_thread_t,int)));
+# if _MSC_VER >= 1300
+__declspec(noinline)
+# endif
static void
stack_extend(th, exit)
rb_thread_t th;