Project

General

Profile

« Previous | Next » 

Revision f94ed2ce

Added by nobu (Nobuyoshi Nakada) almost 10 years ago

error.c: remove singleton method

  • error.c (rb_name_err_mesg_new): remove singleton method, and
    unused argument.

  • vm_eval.c (make_no_method_exception): call rb_name_err_mesg_new
    directly instead of constant lookup and method invocation.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e