1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/template
usa f8665e42f0 merge revision(s) 40525,40526,40528,40530: [Backport #8345]
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
2013-06-26 07:51:04 +00:00
..
Doxyfile.tmpl * ext/mkext.rb: remove purelib, fixes a bug in r28440, r28441. 2010-08-03 05:48:05 +00:00
encdb.h.tmpl
fake.rb.in * template/fake.rb.in (CROSS_COMPILING): get rid of NameError. 2011-02-11 02:39:05 +00:00
id.h.tmpl merge revision(s) 40525,40526,40528,40530: [Backport #8345] 2013-06-26 07:51:04 +00:00
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 merge revision(s) 34716: 2012-07-28 19:32:10 +00:00
transdb.h.tmpl
vm.inc.tmpl
vmtc.inc.tmpl
yarvarch.en
yarvarch.ja
yasmdata.rb.tmpl