summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-18 12:41:18 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-18 12:41:18 +0000
commita2fca5649984cbc2a50eb75a2becb3c866ce41fa (patch)
tree8e5e402431563a0f3f83a8bc96ee428754fccc17
parent7633fee306426917dd2d59db81cc7c55b6790d52 (diff)
* eval.c (rb_call0): make the pointer to NODE volatile
instead of NODE itself. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--eval.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7512b34d81..5a8f53d13f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/eval.c b/eval.c
index 9064678e6e..5bc8229de2 100644
--- a/eval.c
+++ b/eval.c
@@ -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 */