mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval_intern.h (PUSH_TAG): no argument now.
* eval.c, eval_error.h, eval_jump.h, eval_load.c, proc.c, thread.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4134a542ba
commit
354844be45
8 changed files with 36 additions and 45 deletions
2
proc.c
2
proc.c
|
@ -995,7 +995,7 @@ rb_method_call(int argc, VALUE *argv, VALUE method)
|
|||
if (data->recv == Qundef) {
|
||||
rb_raise(rb_eTypeError, "can't call unbound method; bind first");
|
||||
}
|
||||
PUSH_TAG(PROT_NONE);
|
||||
PUSH_TAG();
|
||||
if (OBJ_TAINTED(method)) {
|
||||
safe = rb_safe_level();
|
||||
if (rb_safe_level() < 4) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue