diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-09 12:49:03 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-09 12:49:03 +0000 |
| commit | e067b33833c7b9fb31c4e953076e67e32b37184f (patch) | |
| tree | a2fbc6ee563181dbd8494cfa793b2a3f3df9ff63 /eval.c | |
| parent | 96c97215b7ca44bf09b14d5dd90e166d225a663e (diff) | |
| download | ruby-e067b33833c7b9fb31c4e953076e67e32b37184f.tar.gz ruby-e067b33833c7b9fb31c4e953076e67e32b37184f.tar.xz ruby-e067b33833c7b9fb31c4e953076e67e32b37184f.zip | |
* eval.c (eval): should be volatile value for GC.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
| -rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |
