diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-24 23:55:16 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-24 23:55:16 +0000 |
commit | d866a4202518df17b0acd02a601a56a4b44e252e (patch) | |
tree | 6227ef34cf6716a10e408c007c58f6731aebc345 | |
parent | 2f17991bd12e45ba5e4ca4ae973ba0af3887b5d6 (diff) | |
download | ruby-d866a4202518df17b0acd02a601a56a4b44e252e.tar.gz |
* id.h, id.c: remove idFuncall.
* compile.c (iseq_specialized_instruction): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | compile.c | 5 | ||||
-rw-r--r-- | id.c | 4 | ||||
-rw-r--r-- | id.h | 4 |
4 files changed, 13 insertions, 6 deletions
@@ -1,3 +1,9 @@ +Sat Aug 25 08:54:12 2007 Koichi Sasada <ko1@atdot.net> + + * id.h, id.c: remove idFuncall. + + * compile.c (iseq_specialized_instruction): ditto. + Sat Aug 25 08:47:28 2007 Koichi Sasada <ko1@atdot.net> * tool/compile_prelude.rb: fix to include "vm_core.h". @@ -1482,8 +1482,9 @@ iseq_specialized_instruction(rb_iseq_t *iseq, INSN *iobj) } } - if (mid == idSend || mid == id__send__ || mid == id__send || - mid == idFuncall || mid == id__send_bang) { + if (mid == idSend || mid == id__send || + mid == idSendBang || mid == id__send_bang || + mid == id__send__ ) { OPERAND_AT(iobj, 3) |= INT2FIX(VM_CALL_SEND_BIT); } } @@ -61,8 +61,8 @@ Init_id(void) idAnswer = rb_intern("the_answer_to_life_the_universe_and_everything"); idSend = rb_intern("send"); - id__send__ = rb_intern("__send__"); + idSendBang = rb_intern("send!"); id__send = rb_intern("__send"); - idFuncall = rb_intern("funcall"); id__send_bang = rb_intern("__send!"); + id__send__ = rb_intern("__send__"); } @@ -45,9 +45,9 @@ extern ID idEnd; extern ID idBitblt;
extern ID idAnswer;
extern ID idSend;
-extern ID id__send__;
+extern ID idSendBang;
extern ID id__send;
-extern ID idFuncall;
extern ID id__send_bang;
+extern ID id__send__;
|