diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-18 12:41:18 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-18 12:41:18 +0000 |
commit | 0824510cdd2fd8a4edf9421324b7e0c70dc878dc (patch) | |
tree | 8e5e402431563a0f3f83a8bc96ee428754fccc17 | |
parent | 51dc3f96985525276f64a30637e09fe1ec7e294f (diff) | |
download | ruby-0824510cdd2fd8a4edf9421324b7e0c70dc878dc.tar.gz ruby-0824510cdd2fd8a4edf9421324b7e0c70dc878dc.tar.xz ruby-0824510cdd2fd8a4edf9421324b7e0c70dc878dc.zip |
* eval.c (rb_call0): make the pointer to NODE volatile
instead of NODE itself.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | eval.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Mon Jul 18 21:40:20 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> + + * eval.c (rb_call0): make the pointer to NODE volatile + instead of NODE itself. + Mon Jul 18 14:32:21 2005 Tanaka Akira <akr@m17n.org> * eval.c (rb_call0): make body volatile to avoid optimization problem. @@ -5603,7 +5603,7 @@ rb_call0(klass, recv, id, oid, argc, argv, body, nosuper) ID oid; int argc; /* OK */ VALUE *argv; /* OK */ - volatile NODE *body; + NODE * volatile body; int nosuper; { NODE *b2; /* OK */ |