1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
ko1 2007-08-24 23:55:16 +00:00
parent 2f17991bd1
commit d866a42025
4 changed files with 13 additions and 6 deletions

View file

@ -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".

View file

@ -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);
}
}

4
id.c
View file

@ -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__");
}

4
id.h
View file

@ -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__;