summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-09 05:49:31 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-09 05:49:31 +0000
commitbc983c9f3e06e8602d452d699c76da93a6ec4087 (patch)
tree272b472bfdb4aec64705849f54726f5b943f39cb /eval.c
parentce74e5836695a0908c22dbd4caf9005589326b5e (diff)
* eval.c (scope_dup): add volatile not to optimize tbl.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 2bb66cd8d8..06232b014f 100644
--- a/eval.c
+++ b/eval.c
@@ -7744,7 +7744,7 @@ static void
scope_dup(scope)
struct SCOPE *scope;
{
- ID *tbl;
+ volatile ID *tbl;
VALUE *vars;
scope->flags |= SCOPE_DONT_RECYCLE;