summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-15 22:51:51 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-15 22:51:51 +0000
commit202cb99c86387f351f38266aff95fc1563a5ede7 (patch)
treea14776f699e02285b387f3a3a0d70cd9ebbbf9c6 /vm_insnhelper.c
parent5c9194fe1f5ebfc864b3516beb0c23be2af2f9e3 (diff)
* iseq.c (set_relation), vm_insnhelper.c (vm_cref_push): nd_file
is always zero-cleared. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 0ae0aec714..46449df7b1 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -1087,7 +1087,6 @@ vm_cref_push(rb_thread_t *th, VALUE klass, int noex, rb_block_t *blockptr)
{
rb_control_frame_t *cfp = vm_get_ruby_level_caller_cfp(th, th->cfp);
NODE *cref = NEW_BLOCK(klass);
- cref->nd_file = 0;
cref->nd_visi = noex;
if (blockptr) {