diff options
author | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-18 11:46:41 +0000 |
---|---|---|
committer | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-18 11:46:41 +0000 |
commit | a2608f293de44f07462c746fc27a88cca9ff2256 (patch) | |
tree | d66672ca282edb0f061b909f129b8bf4bf3316d3 /proc.c | |
parent | 231f45ad3626a1c4e9828524ed661771a6793af0 (diff) | |
download | ruby-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.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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); } /* |