diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-01 03:05:58 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-01 03:05:58 +0000 |
commit | eb33f91cb7a763331e210bc10fbdefa037366496 (patch) | |
tree | 8cce6055a148d92f34a5a9a5a8bdfe9831c2580a /id.c | |
parent | 5c8ab4d9c2931c0e0f1ee58e516c91f1e9a47486 (diff) | |
download | ruby-eb33f91cb7a763331e210bc10fbdefa037366496.tar.gz |
* compile.c, insns.def, vm.c, vm_core.h: remove some insns
(undef, alias, definemethod).
Call RubyVM::FrozenCore's singleton method instead.
Add "putiseq" and "putspecialobject" instructions.
* id.c, id.h: add ids for above.
* tool/parse.rb: "VM" no longer exists. Use RubyVM instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'id.c')
-rw-r--r-- | id.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -68,4 +68,10 @@ Init_id(void) idRespond_to = rb_intern("respond_to?"); idInitialize = rb_intern("initialize"); + + id_core_set_method_alias = rb_intern("core_set_method_alias"); + id_core_set_variable_alias = rb_intern("core_set_variable_alias"); + id_core_undef_method = rb_intern("core_undef_method"); + id_core_define_method = rb_intern("core_define_method"); + id_core_define_singleton_method = rb_intern("core_define_singleton_method"); } |