summaryrefslogtreecommitdiff
path: root/proc.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 /proc.c
parent231f45ad3626a1c4e9828524ed661771a6793af0 (diff)
downloadruby-a2608f293de44f07462c746fc27a88cca9ff2256.tar.gz
* 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 'proc.c')
-rw-r--r--proc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/proc.c b/proc.c
index bb3119489e..fea6bdd4d9 100644
--- a/proc.c
+++ b/proc.c
@@ -302,16 +302,10 @@ binding_clone(VALUE self)
}
VALUE
-rb_binding_new_with_cfp(rb_thread_t *th, const rb_control_frame_t *src_cfp)
-{
- return rb_vm_make_binding(th, src_cfp);
-}
-
-VALUE
rb_binding_new(void)
{
rb_thread_t *th = GET_THREAD();
- return rb_binding_new_with_cfp(th, th->cfp);
+ return rb_vm_make_binding(th, th->cfp);
}
/*