summaryrefslogtreecommitdiff
path: root/vm_trace.c
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-18 11:46:41 +0000
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-18 11:46:41 +0000
commita2608f293de44f07462c746fc27a88cca9ff2256 (patch)
treed66672ca282edb0f061b909f129b8bf4bf3316d3 /vm_trace.c
parent231f45ad3626a1c4e9828524ed661771a6793af0 (diff)
* vm_core.h, proc.c, vm_backtrace.c, vm_trace.c:
remove rb_binding_new_with_cfp, and use rb_vm_make_binding instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_trace.c')
-rw-r--r--vm_trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_trace.c b/vm_trace.c
index 6bdc961..7db15b8 100644
--- a/vm_trace.c
+++ b/vm_trace.c
@@ -811,7 +811,7 @@ rb_tracearg_binding(rb_trace_arg_t *trace_arg)
cfp = rb_vm_get_binding_creatable_next_cfp(trace_arg->th, trace_arg->cfp);
if (cfp) {
- return rb_binding_new_with_cfp(trace_arg->th, cfp);
+ return rb_vm_make_binding(trace_arg->th, cfp);
}
else {
return Qnil;