summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-18 05:41:03 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-18 05:41:03 +0000
commit7633fee306426917dd2d59db81cc7c55b6790d52 (patch)
treefece0049f4593e2c2cd841a9beef38dfddb97aed /eval.c
parent6b4ee352fb9d460e9b6080192657573810ca4d0e (diff)
* eval.c (rb_call0): make body volatile to avoid optimization problem.
[ruby-dev:26195] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8791 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 4f843e24e7..9064678e6e 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 */
- NODE *body; /* OK */
+ volatile NODE *body;
int nosuper;
{
NODE *b2; /* OK */