aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-31 08:49:09 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-31 08:49:09 +0000
commitcf74a2a1bdf0a0e216aac9dbf358a9d9d32cdb87 (patch)
treee8be056ffbe7c997d0f7e9fdda930827dbc0f5e7 /vm_insnhelper.c
parent02a64852448da4e894d4f483fae0e94962ca29a5 (diff)
downloadruby-cf74a2a1bdf0a0e216aac9dbf358a9d9d32cdb87.tar.gz
* gc.c (gc_marks_finish): fix syntax error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 39ca48a578..0176bb372e 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -663,7 +663,7 @@ vm_get_ev_const(rb_thread_t *th, VALUE orig_klass, ID id, int is_defined)
/* in current lexical scope */
const rb_cref_t *root_cref = rb_vm_get_cref(th->cfp->ep);
const rb_cref_t *cref;
- VALUE klass = orig_klass;
+ VALUE klass = Qnil;
while (root_cref && CREF_PUSHED_BY_EVAL(root_cref)) {
root_cref = CREF_NEXT(root_cref);