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

ruby-changes:39978

From: ko1 <ko1@a...>
Date: Tue, 6 Oct 2015 18:52:59 +0900 (JST)
Subject: [ruby-changes:39978] ko1:r52059 (trunk): * method.h: IMEMO_FL_USER3 and IMEMO_FL_USER4 is not needed any more.

ko1	2015-10-06 18:52:50 +0900 (Tue, 06 Oct 2015)

  New Revision: 52059

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52059

  Log:
    * method.h: IMEMO_FL_USER3 and IMEMO_FL_USER4 is not needed any more.

  Modified files:
    trunk/ChangeLog
    trunk/method.h
Index: method.h
===================================================================
--- method.h	(revision 52058)
+++ method.h	(revision 52059)
@@ -82,15 +82,15 @@ METHOD_ENTRY_FLAGS_SET(rb_method_entry_t https://github.com/ruby/ruby/blob/trunk/method.h#L82
     VM_ASSERT((int)visi >= 0 && visi <= 3);
     VM_ASSERT(basic <= 1);
     me->flags =
-      (me->flags & ~(IMEMO_FL_USER0|IMEMO_FL_USER1|IMEMO_FL_USER2|IMEMO_FL_USER3|IMEMO_FL_USER4)) |
+      (me->flags & ~(IMEMO_FL_USER0|IMEMO_FL_USER1|IMEMO_FL_USER2)) |
 	((visi << IMEMO_FL_USHIFT+0) | (basic << (IMEMO_FL_USHIFT+2)));
 }
 static inline void
 METHOD_ENTRY_FLAGS_COPY(rb_method_entry_t *dst, const rb_method_entry_t *src)
 {
     dst->flags =
-      (dst->flags & ~(IMEMO_FL_USER0|IMEMO_FL_USER1|IMEMO_FL_USER2|IMEMO_FL_USER3|IMEMO_FL_USER4)) |
-	(src->flags & (IMEMO_FL_USER0|IMEMO_FL_USER1|IMEMO_FL_USER2|IMEMO_FL_USER3|IMEMO_FL_USER4));
+      (dst->flags & ~(IMEMO_FL_USER0|IMEMO_FL_USER1|IMEMO_FL_USER2)) |
+	(src->flags & (IMEMO_FL_USER0|IMEMO_FL_USER1|IMEMO_FL_USER2));
 }
 
 typedef enum {
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 52058)
+++ ChangeLog	(revision 52059)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Oct  6 18:51:51 2015  Koichi Sasada  <ko1@a...>
+
+	* method.h: IMEMO_FL_USER3 and IMEMO_FL_USER4 is not needed any more.
+
 Tue Oct  6 18:47:45 2015  Koichi Sasada  <ko1@a...>
 
 	* method.h: remove METHOD_ENTRY_SAFE(me) and related code

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

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