mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
proc.c: remove unnecessary static function * proc.c (proc_lambda): remove and use rb_block_lambda directly instead. * include/ruby/intern.h (rb_block_lambda): add declaration instead of deprecated rb_f_lambda. * proc.c (mproc, mlambda): use frozen core methods instead of plain global methods, so that methods cannot be overridden. [ruby-core:54687] [Bug #8345] * vm.c (Init_VM): define proc and lambda on the frozen core object. * defs/id.def (predefined): add "idProc". * proc.c (mnew, mproc, mlambda): use predefined IDs. * vm.c (Init_VM): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@41649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
||
|---|---|---|
| .. | ||
| Doxyfile.tmpl | ||
| encdb.h.tmpl | ||
| fake.rb.in | ||
| id.h.tmpl | ||
| insns.inc.tmpl | ||
| insns_info.inc.tmpl | ||
| known_errors.inc.tmpl | ||
| minsns.inc.tmpl | ||
| opt_sc.inc.tmpl | ||
| optinsn.inc.tmpl | ||
| optunifs.inc.tmpl | ||
| ruby.pc.in | ||
| transdb.h.tmpl | ||
| vm.inc.tmpl | ||
| vmtc.inc.tmpl | ||
| yarvarch.en | ||
| yarvarch.ja | ||
| yasmdata.rb.tmpl | ||