From c2eeec8fd40db6b19b7e385108d6fd5e56569a2b Mon Sep 17 00:00:00 2001 From: ocean Date: Mon, 18 Jul 2005 12:41:18 +0000 Subject: [PATCH] * eval.c (rb_call0): make the pointer to NODE volatile instead of NODE itself. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ eval.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 72ac12f960..2d28d9e39d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Jul 18 21:39:18 2005 Hirokazu Yamamoto + + * eval.c (rb_call0): make the pointer to NODE volatile + instead of NODE itself. + Mon Jul 18 14:32:21 2005 Tanaka Akira * eval.c (rb_call0): make body volatile to avoid possible optimization diff --git a/eval.c b/eval.c index e903721576..9e380569b6 100644 --- a/eval.c +++ b/eval.c @@ -5699,7 +5699,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 */