summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
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 078d095ecf..1abed8619c 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;