ko1
385f0e8af6
* vm.c, insns.def, eval.c, vm_insnhelper.c: fix CREF handling.
...
VM value stack frame of block contains cref information.
(dfp[-1] points CREF)
* compile.c, eval_intern.h, eval_method.c, load.c, proc.c,
vm_dump.h, vm_core.h: ditto.
* include/ruby/ruby.h, gc.c: remove T_VALUES because of above
changes.
* bootstraptest/test_eval.rb, test_knownbug.rb: move solved test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-19 03:08:50 +00:00
mame
4bb3fa6982
* eval_method.c (rb_add_method): fix check for warning when
...
Object#initialize is redefined. (same as 1.8)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-13 15:49:38 +00:00
matz
207b8292ba
* eval_method.c (rb_get_method_body): ent->method may be freed by
...
GC. [ruby-dev:31819]
* thread.c (remove_event_hook): should not access freed memory.
[ruby-dev:31820]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-01 03:36:33 +00:00
matz
105a669631
* eval_method.c (rb_export_method): set ruby_vm_redefined_flag for
...
visibility change as well. reported by K.Kosako in
http://d.hatena.ne.jp/kkos/20080122#1201012720 .
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-23 01:20:51 +00:00
nobu
aad2c434a7
* eval_method.c (rb_define_alloc_func, rb_undef_alloc_func): should
...
define/undef on a signleton class. [ruby-core:09959]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-12 09:27:43 +00:00
akr
c332266ee0
* eval_method.c (Init_eval_method): extracted from Init_eval
...
for rdoc to find rb_mod_remove_method, rb_mod_undef_method and
rb_mod_alias_method.
* eval.c (Init_eval): call Init_eval_method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 09:07:20 +00:00
ko1
c334a09f7a
* common.mk, *.ci: renamed to *.c.
...
* eval_laod.c: renamed to load.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20 09:29:46 +00:00