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

ruby-changes:3130

From: ko1@a...
Date: 25 Dec 2007 02:05:54 +0900
Subject: [ruby-changes:3130] matz - Ruby:r14622 (trunk): * id.c (Init_id): remove several unused symbols.

matz	2007-12-25 02:05:38 +0900 (Tue, 25 Dec 2007)

  New Revision: 14622

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

  Log:
    * id.c (Init_id): remove several unused symbols. [ruby-core:14362]
    
    * compile.c (iseq_specialized_instruction): do not use
      VM_CALL_SEND_BANG flag any longer.

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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 14621)
+++ ChangeLog	(revision 14622)
@@ -1,3 +1,10 @@
+Tue Dec 25 01:54:36 2007  Yukihiro Matsumoto  <matz@r...>
+
+	* id.c (Init_id): remove several unused symbols. [ruby-core:14362]
+
+	* compile.c (iseq_specialized_instruction): do not use
+	  VM_CALL_SEND_BANG flag any longer.
+
 Tue Dec 25 01:42:41 2007  Tanaka Akira  <akr@f...>
 
 	* lib/rdoc/rdoc.rb (parse_files): interpret coding cookie.
Index: vm_core.h
===================================================================
--- vm_core.h	(revision 14621)
+++ vm_core.h	(revision 14622)
@@ -521,7 +521,6 @@
 #define VM_CALL_TAILRECURSION_BIT  (0x01 << 6)
 #define VM_CALL_SUPER_BIT          (0x01 << 7)
 #define VM_CALL_SEND_BIT           (0x01 << 8)
-#define VM_CALL_SEND_BANG_BIT      (0x01 << 9)
 
 /* inline (method|const) cache */
 #define NEW_INLINE_CACHE_ENTRY() NEW_WHILE(Qundef, 0, 0)
Index: compile.c
===================================================================
--- compile.c	(revision 14621)
+++ compile.c	(revision 14622)
@@ -1501,14 +1501,9 @@
 	}
 
 	if (argc > 0) {
-	    if (mid == idSend || mid == id__send ||
-		mid == idSendBang ||
-		mid == id__send__ ) {
+	    if (mid == idSend || mid == id__send__ ) {
 		OPERAND_AT(iobj, 3) |= INT2FIX(VM_CALL_SEND_BIT);
 	    }
-	    if (mid == idSendBang) {
-		OPERAND_AT(iobj, 3) |= INT2FIX(VM_CALL_SEND_BANG_BIT);
-	    }
 	}
     }
     return COMPILE_OK;
Index: id.c
===================================================================
--- id.c	(revision 14621)
+++ id.c	(revision 14622)
@@ -63,6 +63,5 @@
     idAnswer = rb_intern("the_answer_to_life_the_universe_and_everything");
 
     idSend = rb_intern("send");
-    idSendBang = rb_intern("send!");
     id__send__ = rb_intern("__send__");
 }
Index: id.h
===================================================================
--- id.h	(revision 14621)
+++ id.h	(revision 14622)
@@ -47,9 +47,6 @@
 extern ID idBitblt;
 extern ID idAnswer;
 extern ID idSend;
-extern ID idSendBang;
-extern ID id__send;
-extern ID id__send_bang;
 extern ID id__send__;
 
 

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

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