summaryrefslogtreecommitdiffstats
path: root/method.h
Commit message (Collapse)AuthorAgeFilesLines
* * vm_method.c (basic_obj_respond_to): should not callmatz2009-10-041-1/+2
| | | | | | | | | | | | | #respond_to_missing? for not implemented methods. [ruby-core:25909] * vm_method.c (rb_method_boundp): returns exceptional value 2 for not-implemented methods when called from #respond_to? (specifies by new contant NOEX_RESPONDS). * method.h (enum): new constant NOEX_RESPONDS added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * method.h (rb_method_type_t): remove a comma at end ofnaruse2009-10-021-1/+1
| | | | | | enumerator list. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25129 ↵matz2009-09-281-1/+2
| | | | b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (rb_call0): gets rid of checking method cache twice.yugui2009-08-291-0/+2
| | | | | | | * method.h (rb_get_method_entry): added a prototype of the function. (rb_method_entry_without_cache): more friendly name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * method.h (rb_method_definition_t): split from rb_method_entry_tnobu2009-08-281-5/+12
| | | | | | | | | to deal aliases. [ruby-dev:39165] * proc.c (struct METHOD): contains rb_method_entry_t copy. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * method.c (rb_method_entry_t): body.proc should be marked.nobu2009-08-261-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * method.h : Commas at end of enum list not allowed as of C89shyouhei2009-07-221-3/+3
| | | | | | | | | * vm_method.c (rb_add_method): avoid C++ comment * vm_insnhelper.c (vm_call_cfunc): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * method.h: properties.nobu2009-07-161-78/+78
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * method.h, vm_core.h: add rb_method_entry_t. Remove nodes aroundko12009-07-151-0/+78
method management. This change affect some VM control stack structure. * vm.c, vm_insnhelper.c, vm_method.c, vm_eval.c: ditto. and make some refactoring. * insns.def, class.c, eval.c, proc.c, vm_dump.c : ditto. * vm_core.h, compile.c (iseq_specialized_instruction): remove VM_CALL_SEND_BIT. use another optimization tech for Kernel#send. * node.h: remove unused node types. * ext/objspace/objspace.c (count_nodes): ditto. * gc.c: add mark/free functions for method entry. * include/ruby/intern.h: remove decl of rb_define_notimplement_method_id(). nobody can use it because noex is not opend. * iseq.c (iseq_mark): fix to check ic_method is available. * iseq.c (rb_iseq_disasm): fix to use rb_method_get_iseq(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e