summaryrefslogtreecommitdiff
path: root/id.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-01 03:05:58 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-01 03:05:58 +0000
commiteb33f91cb7a763331e210bc10fbdefa037366496 (patch)
tree8cce6055a148d92f34a5a9a5a8bdfe9831c2580a /id.c
parent5c8ab4d9c2931c0e0f1ee58e516c91f1e9a47486 (diff)
downloadruby-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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/id.c b/id.c
index 0226a9f5aa..5e3072dcba 100644
--- a/id.c
+++ b/id.c
@@ -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");
}