summaryrefslogtreecommitdiff
path: root/vm_backtrace.c
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-18 11:46:41 (GMT)
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-18 11:46:41 (GMT)
commita2608f293de44f07462c746fc27a88cca9ff2256 (patch)
treed66672ca282edb0f061b909f129b8bf4bf3316d3 /vm_backtrace.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_backtrace.c')
-rw-r--r--vm_backtrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_backtrace.c b/vm_backtrace.c
index 70db469..1a84280 100644
--- a/vm_backtrace.c
+++ b/vm_backtrace.c
@@ -1159,7 +1159,7 @@ collect_caller_bindings(rb_thread_t *th)
if (!NIL_P(cfp_val)) {
rb_control_frame_t *cfp = GC_GUARDED_PTR_REF(cfp_val);
- rb_ary_store(entry, CALLER_BINDING_BINDING, rb_binding_new_with_cfp(th, cfp));
+ rb_ary_store(entry, CALLER_BINDING_BINDING, rb_vm_make_binding(th, cfp));
}
}