diff --git a/ChangeLog b/ChangeLog index bd20f50970..3c1045f0ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Nov 14 10:23:35 2014 Eric Wong + + * vm_eval.c (rb_eval_cmd): use pre-defined idCall + Fri Nov 14 09:25:44 2014 Eric Wong * vm_eval.c (rb_yield_splat): add missing GC guard diff --git a/vm_eval.c b/vm_eval.c index ee984c7402..ded7f75eb5 100644 --- a/vm_eval.c +++ b/vm_eval.c @@ -1481,7 +1481,7 @@ rb_eval_cmd(VALUE cmd, VALUE arg, int level) PUSH_TAG(); rb_set_safe_level_force(level); if ((state = EXEC_TAG()) == 0) { - val = rb_funcall2(cmd, rb_intern("call"), RARRAY_LENINT(arg), + val = rb_funcall2(cmd, idCall, RARRAY_LENINT(arg), RARRAY_CONST_PTR(arg)); } POP_TAG();