[前][次][番号順一覧][スレッド一覧]

ruby-changes:1764

From: ko1@a...
Date: 25 Aug 2007 08:55:26 +0900
Subject: [ruby-changes:1764] ko1 - Ruby:r13255 (trunk): * id.h, id.c: remove idFuncall.

ko1	2007-08-25 08:55:16 +0900 (Sat, 25 Aug 2007)

  New Revision: 13255

  Modified files:
    trunk/ChangeLog
    trunk/compile.c
    trunk/id.c
    trunk/id.h

  Log:
    * id.h, id.c: remove idFuncall.
    * compile.c (iseq_specialized_instruction): ditto.
    


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/compile.c?r1=13255&r2=13254
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13255&r2=13254
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/id.c?r1=13255&r2=13254
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/id.h?r1=13255&r2=13254

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 13254)
+++ ChangeLog	(revision 13255)
@@ -1,3 +1,9 @@
+Sat Aug 25 08:54:12 2007  Koichi Sasada  <ko1@a...>
+
+	* id.h, id.c: remove idFuncall.
+
+	* compile.c (iseq_specialized_instruction): ditto.
+
 Sat Aug 25 08:47:28 2007  Koichi Sasada  <ko1@a...>
 
 	* tool/compile_prelude.rb: fix to include "vm_core.h".
Index: compile.c
===================================================================
--- compile.c	(revision 13254)
+++ compile.c	(revision 13255)
@@ -1482,8 +1482,9 @@
 	    }
 	}
 
-	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);
 	}
     }
Index: id.c
===================================================================
--- id.c	(revision 13254)
+++ id.c	(revision 13255)
@@ -61,8 +61,8 @@
     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__");
 }
Index: id.h
===================================================================
--- id.h	(revision 13254)
+++ id.h	(revision 13255)
@@ -45,9 +45,9 @@
 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__;
 
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧]