summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
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);
}
/*