diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-07-03 05:46:36 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-07-03 05:46:36 +0000 |
commit | 6ad90f5ad4961b26287c87c2d34056829c59755d (patch) | |
tree | 33b1e62e7dc20b4f93108dd36b1918cc22610e55 /eval.c | |
parent | 7c4044501a7a7878d60b94361d364dc042d3d603 (diff) | |
download | ruby-6ad90f5ad4961b26287c87c2d34056829c59755d.tar.gz |
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1539,8 +1539,10 @@ rb_mod_alias_method(mod, newname, oldname) ALLOC_N(VALUE,n),tmp__protect_tmp,n), \ (void*)tmp__protect_tmp->nd_head) # define TMP_PROTECT_END do {\ - rb_gc_force_recycle((VALUE)tmp__protect_tmp);\ - alloca(0);\ + if (tmp__protect_tmp) {\ + rb_gc_force_recycle((VALUE)tmp__protect_tmp);\ + alloca(0);\ + }\ } while (0) #else # define TMP_PROTECT typedef int foobazzz |