From 8b0771b0142dffb45dd0d7fc18f6c2868eeb2b3b Mon Sep 17 00:00:00 2001 From: charliesome Date: Sat, 9 Nov 2013 03:34:49 +0000 Subject: * class.c: unify names of vm state version counters to 'serial'. This includes renaming 'vm_state_version_t' to 'rb_serial_t', 'method_state' to 'method_serial', 'seq' to 'class_serial', 'vmstat' to 'constant_serial', etc. * insns.def: ditto * internal.h: ditto * vm.c: ditto * vm_core.h: ditto * vm_insnhelper.c: ditto * vm_insnhelper.h: ditto * vm_method.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- compile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compile.c') diff --git a/compile.c b/compile.c index 4260d0eba6..f3f5f2d75a 100644 --- a/compile.c +++ b/compile.c @@ -961,8 +961,8 @@ new_callinfo(rb_iseq_t *iseq, ID mid, int argc, VALUE block, unsigned long flag) ci->flag |= VM_CALL_ARGS_SKIP_SETUP; } } - ci->method_state = 0; - ci->seq = 0; + ci->method_serial = 0; + ci->class_serial = 0; ci->blockptr = 0; ci->recv = Qundef; ci->call = 0; /* TODO: should set default function? */ -- cgit v1.2.3