From 28c0aec1d889cfb3447c708a790b0acb95607e2f Mon Sep 17 00:00:00 2001 From: ko1 Date: Fri, 9 Nov 2007 12:49:03 +0000 Subject: * eval.c (eval): should be volatile value for GC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eval.c') diff --git a/eval.c b/eval.c index acb2af19ba..2f6300bdb7 100644 --- a/eval.c +++ b/eval.c @@ -1700,7 +1700,7 @@ eval(VALUE self, VALUE src, VALUE scope, const char *file, int line) PUSH_TAG(); if ((state = EXEC_TAG()) == 0) { rb_iseq_t *iseq; - VALUE iseqval; + volatile VALUE iseqval; if (scope != Qnil) { if (CLASS_OF(scope) == rb_cBinding) { -- cgit v1.2.3