summaryrefslogtreecommitdiff
path: root/vm_eval.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-01 06:22:20 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-01 06:22:20 +0000
commitf0eecb15a3cad13e1000c3784173abe342b782d5 (patch)
tree1816b08307f3f19705f9c3be2c92c8f48e181922 /vm_eval.c
parentf886d71614681a4658c771efb3b2e4bdb3b5b115 (diff)
remove old VM profile counters.
* vm_insnhelper.c: remove `vm_profile_counter` because it is replaced with debug_counters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/vm_eval.c b/vm_eval.c
index fcc87cb..cbc454d 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -83,11 +83,9 @@ vm_call0_cfunc_with_frame(rb_execution_context_t* ec, struct rb_calling_info *ca
if (len >= 0) rb_check_arity(argc, len, len);
- VM_PROFILE_UP(C2C_CALL);
val = (*cfunc->invoker)(cfunc->func, recv, argc, argv);
CHECK_CFP_CONSISTENCY("vm_call0_cfunc_with_frame");
- VM_PROFILE_UP(C2C_POPF);
rb_vm_pop_frame(ec);
}
EXEC_EVENT_HOOK(ec, RUBY_EVENT_C_RETURN, recv, me->def->original_id, mid, me->owner, val);